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