forked from MagicBane/Server
More itembase refactor work
This commit is contained in:
@@ -523,9 +523,9 @@ public class Item extends AbstractWorldObject {
|
||||
writer.putIntAt(serialized, indexPosition);
|
||||
}
|
||||
|
||||
public static Item createItemForPlayer(PlayerCharacter pc, ItemBase ib) {
|
||||
public static Item createItemForPlayer(PlayerCharacter pc, int templateID) {
|
||||
|
||||
Item item = new Item(ib.getUUID());
|
||||
Item item = new Item(templateID);
|
||||
item.ownerID = pc.getObjectUUID();
|
||||
item.ownerType = OwnerType.PlayerCharacter;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user