Added checks for appearance stone item ids.

This commit is contained in:
MobiusDev
2017-08-23 02:18:56 +00:00
parent 4cab8029c0
commit 374c53df4b
6 changed files with 32 additions and 719 deletions

View File

@@ -131,7 +131,14 @@ public class AppearanceItemData implements IGameXmlReader
}
}
}
_stones.put(stone.getId(), stone);
if (ItemTable.getInstance().getTemplate(stone.getId()) != null)
{
_stones.put(stone.getId(), stone);
}
else
{
LOGGER.info(getClass().getSimpleName() + ": Could not find appearance stone item " + stone.getId());
}
}
}
}