diff --git a/src/engine/objects/Effect.java b/src/engine/objects/Effect.java index 60e991c8..8a14e41e 100644 --- a/src/engine/objects/Effect.java +++ b/src/engine/objects/Effect.java @@ -326,6 +326,10 @@ public class Effect { writer.putString(item.getName()); writer.putFloat(-1000f); } else { + if(true){ + serializeForClientMsg(writer); + return; + } float duration = this.jc.timeToExecutionLeft() / 1000; writer.putInt(this.eb.getToken()); writer.putInt(aej.getTrains()); @@ -338,6 +342,10 @@ public class Effect { } public void serializeForClientMsg(ByteBufferWriter writer) { + if(true){ + serializeForLoad(writer); + return; + } AbstractJob aj = this.jc.getJob(); if (aj == null || (!(aj instanceof AbstractEffectJob))) { //TODO put error message here