Added ChunkReader interface for reading item entries combined in one chunk and updated read methods for slot iff's and profession templates

This commit is contained in:
Waverunner
2015-07-17 18:43:41 -04:00
parent 8d80b64bf1
commit be19a7f9c1
8 changed files with 129 additions and 48 deletions
@@ -312,6 +312,8 @@ public class CharacterCreationService extends Service {
for (String template : profTemplates.get(profession).getItems(ClientFactory.formatToSharedFile(race))) {
TangibleObject item = createTangible(objManager, template);
if (item == null)
return;
// Move the new item to the player's clothing slots and add to equipment list
item.moveToContainer(player, player);
player.addEquipment(item);