mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-04 05:16:21 -04:00
Bonus Set Buffs no longer removed on logout
This commit is contained in:
@@ -141,7 +141,9 @@ public class BuffService implements INetworkDispatch {
|
||||
// copy to array for thread safety
|
||||
|
||||
for(final Buff buff : creature.getBuffList().get().toArray(new Buff[] { })) {
|
||||
|
||||
|
||||
if (buff.getGroup1().startsWith("setBonus")) { continue; }
|
||||
|
||||
if(buff.getRemainingDuration() > 0 && buff.getDuration() > 0) {
|
||||
ScheduledFuture<?> task = scheduler.schedule(new Runnable() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user