mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 09:37:29 +00:00
Small custom particle null pointer error fix
This commit is contained in:
1 parent
0d807b36d9
commit
03e4400b2e
1 file changed
+3
@@ -103,6 +103,9 @@ public class NoppesUtil {
|
||||
World worldObj = Minecraft.getMinecraft().theWorld;
|
||||
Entity entity = worldObj.getEntityByID(entityID);
|
||||
|
||||
if(entity == null)
|
||||
return;
|
||||
|
||||
EntityCustomFX fx = new EntityCustomFX(
|
||||
entity,
|
||||
directory, HEXcolor,
|
||||
|
||||
Reference in new issue
Block a user