Browse Source

parameter rename

combat-2
MagicBot 8 months ago
parent
commit
ee34f9e8ec
  1. 4
      src/engine/objects/Kit.java

4
src/engine/objects/Kit.java

@ -111,9 +111,9 @@ public class Kit extends AbstractGameObject { @@ -111,9 +111,9 @@ public class Kit extends AbstractGameObject {
* 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.ownerType = OwnerType.PlayerCharacter;
item.containerType = ItemContainerType.EQUIPPED;

Loading…
Cancel
Save