refactor of Manager
This commit is contained in:
parent
5ffb921150
commit
b769de9db4
7 changed files with 13 additions and 13 deletions
|
@ -40,7 +40,7 @@ public class CombatManager extends Manager {
|
|||
|| !(e.getEntity() instanceof LivingEntity entity)) {
|
||||
return;
|
||||
}
|
||||
PlayerManager pm = (PlayerManager) PlayerManager.getInstance(PlayerManager.class);
|
||||
PlayerManager pm = PlayerManager.getInstance(PlayerManager.class);
|
||||
if (pm == null) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue