mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 23:37:32 +00:00
Fixed particles that spawn on entities that can't be found still spawning with the world as the spawning point instead.
This commit is contained in:
1 parent
e750a7595f
commit
6aae6f17ac
1 file changed
+1
@@ -110,6 +110,7 @@ public class NoppesUtil {
|
||||
entity = worldObj.getEntityByID(compound.getInteger("EntityID"));
|
||||
if (entity != null)
|
||||
worldObj = entity.worldObj;
|
||||
else return;
|
||||
}
|
||||
|
||||
CustomFX fx = CustomFX.fromScriptedParticle(particle, worldObj, entity);
|
||||
|
||||
Reference in new issue
Block a user