From aa5fb2a2c5cdb38e98a34187cb397cc652982f1b Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 28 Dec 2024 07:57:51 -0600 Subject: [PATCH] bane commander NPC --- src/engine/objects/Bane.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/Bane.java b/src/engine/objects/Bane.java index 9d0afdce..389469b6 100644 --- a/src/engine/objects/Bane.java +++ b/src/engine/objects/Bane.java @@ -413,8 +413,12 @@ public final class Bane { defaultTime = defaultTime.minuteOfHour().setCopy(0); defaultTime = defaultTime.secondOfMinute().setCopy(0); - if (currentTime.isAfter(timeToSetDefault)) - this.setLiveDate(defaultTime); + if (currentTime.isAfter(timeToSetDefault)){ + DbManager.BaneQueries.SET_BANE_CAP_NEW(20,this.getCityUUID()); + DbManager.BaneQueries.SET_BANE_TIME_NEW(9,this.getCityUUID()); + DbManager.BaneQueries.SET_BANE_DAY_NEW(3,this.getCityUUID()); + } + //this.setLiveDate(defaultTime); else { if (this.defaultTimeJob != null)