From 4330bb3ecdc5bdbd98a9fab58b1d059a3767356d Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 12 Jan 2025 00:18:30 -0600 Subject: [PATCH] updated regen system --- src/engine/objects/PlayerCharacter.java | 2 ++ src/engine/server/world/WorldServer.java | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 7eb120d0..a5cbe420 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -5849,6 +5849,8 @@ public class PlayerCharacter extends AbstractCharacter { boolean workedMana = false; boolean workedStamina = false; + ChatManager.chatSystemInfo(this,"Recovering Mana: " + manaRegen); + float old, mod; while (!workedHealth || !workedMana || !workedStamina) { if (!this.isAlive() || !this.isActive()) diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index 30935c20..b6b8160b 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -517,8 +517,8 @@ public class WorldServer { Logger.info("Starting Bane Thread"); BaneThread.startBaneThread(); - //Logger.info("Starting Player Update Thread"); - //UpdateThread.startUpdateThread(); + Logger.info("Starting Player Regen Thread"); + UpdateThread.startUpdateThread(); printThreads();