Inline templateID

This commit is contained in:
MagicBot committed 2024-03-30 08:26:08 -04:00
1 parent 46170e3ab7
commit e5622a47c0
12 files changed
+23 -27

No files matched your search

@@ -284,7 +284,7 @@ public class ItemProductionMsg extends ClientNetMsg {
writer.putInt(0); //items left to produce?
if (toRoll != null) {
writer.putInt(toRoll.getTemplateID());
writer.putInt(toRoll.templateID);
writer.putInt(toRoll.getValue());
} else {
writer.putInt(0);
@@ -301,7 +301,7 @@ public class ItemProductionMsg extends ClientNetMsg {
timeLeft /= 1000;
writer.putInt((int) timeLeft);
writer.putInt(vendor.getRollingTimeInSeconds(toRoll.getTemplateID()));
writer.putInt(vendor.getRollingTimeInSeconds(toRoll.templateID));
}
} else {