Begin message rewrite

This commit is contained in:
2024-04-06 14:01:23 -04:00
parent b86ca33087
commit b979fbb1bc
2 changed files with 2 additions and 10 deletions
@@ -459,7 +459,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
if (msg.getUnknown03() != 0 && msg.getpToken() == 0 && msg.getsToken() == 0)
isRandom = true;
//Create Multiple Item Function.. Fill all empty slots
if (msg.isMultiple()) {
if (msg.getSize() > 0) {
int emptySlots = vendorNPC.getRank() - vendorNPC.getRolling().size();
if (emptySlots > 0) {
for (int i = 0; i < emptySlots; i++) {