Implement the Naga class and update some behaviors and effects of other classes

This commit is contained in:
2021-12-12 20:22:38 +01:00
parent f89bf5a010
commit 9095707d77
12 changed files with 218 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ public abstract class MineClassImpl implements MineClass {
@Override
public void reapplyEffects(Player player) {
MineClassFactory.clearAllClassEffects(player);
getPotionEffects()
getPotionEffects(player)
.forEach(
(key, value) -> {
if (player.hasPotionEffect(key)) {