From f2d9eb003c65391e7221bd2c90d3928a2849f8f7 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 27 Jan 2025 13:02:50 -0600 Subject: [PATCH] temporary enchant timers --- src/engine/objects/Effect.java | 8 ++++++++ 1 file changed, 8 insertions(+) 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