Inline templateID

This commit is contained in:
2024-03-30 08:26:08 -04:00
parent 46170e3ab7
commit e5622a47c0
12 changed files with 23 additions and 27 deletions
@@ -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 {