fix for debug

This commit is contained in:
Brianna O'Keefe 2018-11-20 18:59:15 -05:00
parent 573db3af4c
commit 9ddb73ebc5

View File

@ -143,7 +143,6 @@ public class StackingTask extends BukkitRunnable {
public ItemStack setMax(ItemStack item, int max, boolean reset) {
try {
Bukkit.broadcastMessage("Alter Amount");
Object objItemStack = methodGetItem.invoke(methodAsNMSCopy.invoke(null, item));
fieldMaxStackSize.set(objItemStack, reset ? new ItemStack(item.getType()).getMaxStackSize() : max);
} catch (ReflectiveOperationException e) {