mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 06:09:05 +00:00
Optimize Imports
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user