mirror of
https://bitbucket.org/projectswg/cucore.git
synced 2026-10-21 13:03:01 -04:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user