this needs to be reworked at some point.

This commit is contained in:
jascotty2 2019-08-27 10:03:39 -05:00
parent 0f1b5acd08
commit d7aef463d1
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ public class Methods {
// This function shouldn't change! This is the API that many plugins hook into!
public static void updateItemAmount(Item item, int newAmount) {
item.getItemStack().setAmount(Math.min(32, newAmount));
updateItemAmount(item, item.getItemStack(), newAmount);
}