Browse Source

mine serializing

lakebane-new
FatBoy-DOTC 5 months ago
parent
commit
5b81be371e
  1. 1
      src/engine/objects/Mine.java

1
src/engine/objects/Mine.java

@ -203,6 +203,7 @@ public class Mine extends AbstractGameObject {
writer.putFloat(mine.parentZone.getLoc().x); writer.putFloat(mine.parentZone.getLoc().x);
writer.putFloat(mine.parentZone.getLoc().y); writer.putFloat(mine.parentZone.getLoc().y);
writer.putFloat(mine.parentZone.getLoc().z); writer.putFloat(mine.parentZone.getLoc().z);
Logger.error("Mine Tower Was Null For Mine: " + mine.getObjectUUID());
} }
writer.putInt(mine.isExpansion() ? mine.mineType.xpacHash : mine.mineType.hash); writer.putInt(mine.isExpansion() ? mine.mineType.xpacHash : mine.mineType.hash);

Loading…
Cancel
Save