Prevent null pointer exception with world when creating scripted particle on client side.

This commit is contained in:
Luis C.M committed 2022-07-02 12:43:22 -05:00
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")) {