|
|
@ -111,9 +111,9 @@ public class Kit extends AbstractGameObject { |
|
|
|
* Getters |
|
|
|
* Getters |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
private static boolean kitItemCreator(PlayerCharacter pc, int itemBase, Enum.EquipSlotType slot) { |
|
|
|
private static boolean kitItemCreator(PlayerCharacter pc, int templateID, Enum.EquipSlotType slot) { |
|
|
|
|
|
|
|
|
|
|
|
Item item = new Item(itemBase); |
|
|
|
Item item = new Item(templateID); |
|
|
|
item.ownerID = pc.getObjectUUID(); |
|
|
|
item.ownerID = pc.getObjectUUID(); |
|
|
|
item.ownerType = OwnerType.PlayerCharacter; |
|
|
|
item.ownerType = OwnerType.PlayerCharacter; |
|
|
|
item.containerType = ItemContainerType.EQUIPPED; |
|
|
|
item.containerType = ItemContainerType.EQUIPPED; |
|
|
|