mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 16:54:06 +00:00
Mobs should be spawned around the guardian, not the beacon.
This commit is contained in:
1 parent
687983f410
commit
80000bd97e
1 file changed
+1
-1
@@ -387,7 +387,7 @@ public class EntityDoppleganger extends EntityCreature implements IBotaniaBossWi
|
||||
|
||||
if(entity != null) {
|
||||
range = 6F;
|
||||
entity.setPosition(source.posX + 0.5 + Math.random() * range - range / 2, posY - 1, source.posZ + 0.5 + Math.random() * range - range / 2);
|
||||
entity.setPosition(posX + 0.5 + Math.random() * range - range / 2, posY - 1, posZ + 0.5 + Math.random() * range - range / 2);
|
||||
worldObj.spawnEntityInWorld(entity);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user