mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-05 06:17:19 -04:00
Safety improvement
This commit is contained in:
@@ -604,7 +604,7 @@ public class PlayerService implements INetworkDispatch {
|
||||
//core.equipmentService.unequip(creature, equipment);
|
||||
//}
|
||||
|
||||
for (Buff buff : creature.getBuffList()) {
|
||||
for (Buff buff : creature.getBuffList().get().toArray(new Buff[] { })) {
|
||||
if (buff.isRemoveOnRespec()) {
|
||||
core.buffService.removeBuffFromCreature(creature, buff);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user