mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-06-07 21:53:36 +02:00
fixed the spawn lamp again cause I'm a duh
This commit is contained in:
parent
2e5977531d
commit
4993d9db7d
|
@ -44,6 +44,8 @@ public class BlockSpawnLamp extends BlockContainerImpl implements IVisualizable
|
|||
return;
|
||||
IWorld world = event.getWorld();
|
||||
BlockPos pos = new BlockPos(event.getX(), event.getY(), event.getZ());
|
||||
if (!(world instanceof World))
|
||||
return;
|
||||
WorldData data = (WorldData) IWorldData.getWorldData((World) world);
|
||||
for (TileEntitySpawnLamp lamp : data.spawnLamps) {
|
||||
int range = lamp.getRadius();
|
||||
|
|
Loading…
Reference in a new issue