diff options
Diffstat (limited to 'src/content_sao.cpp')
-rw-r--r-- | src/content_sao.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/content_sao.cpp b/src/content_sao.cpp index 171e315af..770577c56 100644 --- a/src/content_sao.cpp +++ b/src/content_sao.cpp @@ -913,14 +913,6 @@ std::string FireflySAO::getStaticData() return os.str(); } -InventoryItem* FireflySAO::createPickedUpItem() -{ - std::istringstream is("CraftItem firefly 1", std::ios_base::binary); - IGameDef *gamedef = m_env->getGameDef(); - InventoryItem *item = InventoryItem::deSerialize(is, gamedef); - return item; -} - /* MobV2SAO */ @@ -1664,15 +1656,6 @@ std::string LuaEntitySAO::getStaticData() return os.str(); } -InventoryItem* LuaEntitySAO::createPickedUpItem() -{ - // TODO: Ask item from scriptapi - std::istringstream is("CraftItem testobject1 1", std::ios_base::binary); - IGameDef *gamedef = m_env->getGameDef(); - InventoryItem *item = InventoryItem::deSerialize(is, gamedef); - return item; -} - void LuaEntitySAO::punch(ServerActiveObject *puncher, float time_from_last_punch) { if(!m_registered) |