Remove potion effects when a player changes class via class chests.
This fixes #471
This commit is contained in:
@@ -1185,6 +1185,7 @@ public class ArenaImpl implements Arena
|
||||
}
|
||||
|
||||
InventoryManager.clearInventory(p);
|
||||
removePotionEffects(p);
|
||||
arenaPlayer.setArenaClass(arenaClass);
|
||||
|
||||
PlayerInventory inv = p.getInventory();
|
||||
|
||||
Reference in New Issue
Block a user