Fixed more bugs caused by the new mappings.

This commit is contained in:
Gunther De Wachter
2017-07-03 09:11:06 +02:00
parent 7f7495f1df
commit 20fc0e136d
3 changed files with 4 additions and 4 deletions
@@ -437,7 +437,7 @@ public final class MeteoritePlacer
public boolean spawnMeteorite( final IMeteoriteWorld w, final int x, final int y, final int z )
{
if( !w.hasSkyLight() )
if( !w.isNether() )
{
return false;
}
@@ -35,7 +35,7 @@ public interface IMeteoriteWorld
int maxZ( int in );
boolean hasSkyLight();
boolean isNether();
Block getBlock( int x, int y, int z );
@@ -64,9 +64,9 @@ public class StandardWorld implements IMeteoriteWorld
}
@Override
public boolean hasSkyLight()
public boolean isNether()
{
return !this.getWorld().provider.hasSkyLight();
return !this.getWorld().provider.isNether();
}
@Override