resource stacking bug
This commit is contained in:
1 parent
d058e7506a
commit
8d32927241
1 file changed
+1
-5
@@ -1282,13 +1282,9 @@ public class CharacterItemManager {
|
||||
} else{
|
||||
i.setNumOfItems(count);
|
||||
for(Item item : purge){
|
||||
this.delete(item);
|
||||
this.removeItemFromInventory(item);
|
||||
}
|
||||
this.inventory.removeAll(purge);
|
||||
this.inventory.add(i);
|
||||
}
|
||||
this.updateInventory();
|
||||
}else {
|
||||
this.inventory.add(i);
|
||||
this.itemIDtoType.put(i.getObjectUUID(), i.getObjectType().ordinal());
|
||||
|
||||
|
||||
Reference in new issue
Block a user