Optimize Imports

This commit is contained in:
Kam committed 2025-07-23 14:22:52 -04:00
1 parent 61dc056735
commit 9c541999f3
264 files changed
+2848 -489

No files matched your search

@@ -1,7 +1,8 @@
package noppes.npcs.scripted.entity;
import net.minecraft.entity.projectile.EntityThrowable;
import noppes.npcs.api.entity.*;
import noppes.npcs.api.entity.IEntityLivingBase;
import noppes.npcs.api.entity.IThrowable;
import noppes.npcs.scripted.NpcAPI;
import noppes.npcs.scripted.constants.EntityType;
@@ -13,7 +14,7 @@ public class ScriptThrowable<T extends EntityThrowable> extends ScriptEntity<T>
@Override
public IEntityLivingBase getThrower() {
if(entity.getThrower() != null)
if (entity.getThrower() != null)
return (IEntityLivingBase) NpcAPI.Instance().getIEntity(entity.getThrower());
return null;
}