Full Imports and Code Format Optimization

This commit is contained in:
Kam committed 2025-03-12 20:12:01 -04:00
1 parent 250edf099c
commit 6815f579a7
1192 files changed
+60344 -62167

No files matched your search

@@ -51,7 +51,7 @@ public class PlayerEffect implements IPlayerEffect {
@Override
public String getName() {
CustomEffect effect = CustomEffectController.getInstance().get(this.id, this.index);
if(effect != null)
if (effect != null)
return effect.getName();
return "UNKNOWN";
@@ -61,7 +61,7 @@ public class PlayerEffect implements IPlayerEffect {
public void performEffect(IPlayer player) {
if (player != null && player.getMCEntity() != null && player.getMCEntity() instanceof EntityPlayer) {
CustomEffect effect = CustomEffectController.getInstance().get(this.id, this.index);
if(effect != null)
if (effect != null)
effect.onTick((EntityPlayer) player.getMCEntity(), this);
}
}