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 )
|
||||
{
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user