mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-12-26 02:17:38 +01:00
fix for debug
This commit is contained in:
parent
573db3af4c
commit
9ddb73ebc5
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user