forked from MagicBane/Server
Begin constructor refactor
This commit is contained in:
@@ -284,7 +284,7 @@ public class ItemProductionMsg extends ClientNetMsg {
|
||||
writer.putInt(this.itemUUID);
|
||||
writer.putInt(0); //items left to produce?
|
||||
if (toRoll != null) {
|
||||
writer.putInt(toRoll.getItemBaseID());
|
||||
writer.putInt(toRoll.getTemplsteID());
|
||||
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.getItemBaseID()));
|
||||
writer.putInt(vendor.getRollingTimeInSeconds(toRoll.getTemplsteID()));
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user