Misc Changes (#633)

* Fix Weight Calculation For Add/Remove Item In ItemAssistant

* Re-Add Simple Stuck Command That Logs To Discord To Prevent Abuse

* Update Discord Log Chanel Var

* Fix int/interface Command

* Add World ID Check To DiscordBot Link Command

* Fix Java Warnings in DiscordBot Link Command
This commit is contained in:
Josh Shippam authored and GitHub committed 2023-03-20 23:35:25 +00:00
1 parent d155a57380
commit e293bde96f
6 files changed
+24 -15

No files matched your search

@@ -515,7 +515,7 @@ public class ItemAssistant {
player.flushOutStream();
}
i = 30;
Weight.calcWeight(player, item, "additem");
Weight.updateWeight(player);
return true;
}
}
@@ -533,7 +533,7 @@ public class ItemAssistant {
}
resetItems(3214);
i = 30;
Weight.calcWeight(player, item, "additem");
Weight.updateWeight(player);
return true;
}
}
@@ -2338,7 +2338,7 @@ public class ItemAssistant {
}
}
resetItems(3214);
Weight.calcWeight(player, id, "deleteitem");
Weight.updateWeight(player);
}
public void deleteItem(int id, int slot, int amount) {
@@ -2353,7 +2353,7 @@ public class ItemAssistant {
player.playerItems[slot] = 0;
}
resetItems(3214);
Weight.calcWeight(player, id, "deleteitem");
Weight.updateWeight(player);
}
}