Bonus Set Buffs no longer removed on logout

This commit is contained in:
Waverunner
2013-11-09 14:49:15 -05:00
parent 1c9e068f2e
commit 8c65a92871
+3 -1
View File
@@ -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() {