From d06c298b0943efde8e6cea978308ee55a50e934f Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 23 Apr 2024 19:39:38 -0500 Subject: [PATCH] revert power que --- src/engine/net/client/ClientMessagePump.java | 4 ++-- src/engine/server/world/WorldServer.java | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/engine/net/client/ClientMessagePump.java b/src/engine/net/client/ClientMessagePump.java index 13cef490..ffd559c4 100644 --- a/src/engine/net/client/ClientMessagePump.java +++ b/src/engine/net/client/ClientMessagePump.java @@ -1921,8 +1921,8 @@ public class ClientMessagePump implements NetMsgHandler { } break; case POWER: - //PowersManager.usePower((PerformActionMsg) msg, origin, false); - PowersManager.static_power_que.add(new PowersManager.PowerQueObject((PerformActionMsg) msg, origin, false)); + PowersManager.usePower((PerformActionMsg) msg, origin, false); + //PowersManager.static_power_que.add(new PowersManager.PowerQueObject((PerformActionMsg) msg, origin, false)); break; case REQUESTMELEEATTACK: CombatManager.setAttackTarget((AttackCmdMsg) msg, origin); diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index 1f81a99d..69b9021d 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -532,10 +532,10 @@ public class WorldServer { mineThread.setName("mine thread"); mineThread.start(); - Logger.info("Starting Power Thread..."); - Thread powerThread = new Thread(new PowersThread()); - powerThread.setName("power thread"); - powerThread.start(); + //Logger.info("Starting Power Thread..."); + //Thread powerThread = new Thread(new PowersThread()); + //powerThread.setName("power thread"); + //powerThread.start(); return true; }