mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 16:37:45 +00:00
Add Dimension to Mob Cloner Spawn
This commit is contained in:
1 parent
978358e827
commit
a6d0007523
1 file changed
+2
@@ -783,6 +783,8 @@ public class NoppesUtilServer {
|
||||
if(entity == null){
|
||||
return null;
|
||||
}
|
||||
|
||||
entity.dimension = worldObj.provider.dimensionId;
|
||||
int i = MathHelper.floor_double(entity.posX / 16.0D);
|
||||
int j = MathHelper.floor_double(entity.posZ / 16.0D);
|
||||
if (!entity.forceSpawn && !worldObj.checkChunksExist(
|
||||
|
||||
Reference in new issue
Block a user