Fixed more bugs caused by the new mappings.
This commit is contained in:
@@ -437,7 +437,7 @@ public final class MeteoritePlacer
|
|||||||
public boolean spawnMeteorite( final IMeteoriteWorld w, final int x, final int y, final int z )
|
public boolean spawnMeteorite( final IMeteoriteWorld w, final int x, final int y, final int z )
|
||||||
{
|
{
|
||||||
|
|
||||||
if( !w.hasSkyLight() )
|
if( !w.isNether() )
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ public interface IMeteoriteWorld
|
|||||||
|
|
||||||
int maxZ( int in );
|
int maxZ( int in );
|
||||||
|
|
||||||
boolean hasSkyLight();
|
boolean isNether();
|
||||||
|
|
||||||
Block getBlock( int x, int y, int z );
|
Block getBlock( int x, int y, int z );
|
||||||
|
|
||||||
|
|||||||
@@ -64,9 +64,9 @@ public class StandardWorld implements IMeteoriteWorld
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean hasSkyLight()
|
public boolean isNether()
|
||||||
{
|
{
|
||||||
return !this.getWorld().provider.hasSkyLight();
|
return !this.getWorld().provider.isNether();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user