mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 22:27:32 +00:00
Prevent null pointer exception with world when creating scripted particle on client side.
This commit is contained in:
1 parent
79a703429c
commit
9ceec111ba
1 file changed
+3
@@ -98,6 +98,9 @@ public class NoppesUtil {
|
||||
}
|
||||
|
||||
World worldObj = DimensionManager.getWorld(compound.getInteger("DimensionID"));
|
||||
if (worldObj == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
Entity entity = null;
|
||||
if (compound.hasKey("EntityID")) {
|
||||
|
||||
Reference in new issue
Block a user