mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-12-02 17:08:00 +01:00
Also check the negative direction when determining if a rainbow can spawn
This commit is contained in:
parent
675cea57b8
commit
422598d633
1 changed files with 4 additions and 1 deletions
|
@ -94,7 +94,10 @@ public class EntityRainbow extends EntityWeatherEffect {
|
||||||
|
|
||||||
public static class Spawner extends EntityLiving {
|
public static class Spawner extends EntityLiving {
|
||||||
|
|
||||||
public static final AxisAlignedBB SPAWN_COLLISSION_RADIUS = new AxisAlignedBB(0, 0, 0, RAINBOW_MAX_SIZE, RAINBOW_MAX_SIZE, RAINBOW_MAX_SIZE);
|
public static final AxisAlignedBB SPAWN_COLLISSION_RADIUS = new AxisAlignedBB(
|
||||||
|
-RAINBOW_MAX_SIZE, -RAINBOW_MAX_SIZE, -RAINBOW_MAX_SIZE,
|
||||||
|
RAINBOW_MAX_SIZE, RAINBOW_MAX_SIZE, RAINBOW_MAX_SIZE
|
||||||
|
);
|
||||||
|
|
||||||
public Spawner(World worldIn) {
|
public Spawner(World worldIn) {
|
||||||
super(worldIn);
|
super(worldIn);
|
||||||
|
|
Loading…
Reference in a new issue