mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-08 03:21:32 +01:00
this needs to be reworked at some point.
This commit is contained in:
parent
0f1b5acd08
commit
d7aef463d1
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user