Port to 1.11
This commit is contained in:
@@ -313,7 +313,7 @@ public final class MeteoritePlacer
|
||||
if( nugget != null )
|
||||
{
|
||||
nugget = nugget.copy();
|
||||
nugget.stackSize = (int) ( Math.random() * 12 ) + 1;
|
||||
nugget.setCount( (int) ( Math.random() * 12 ) + 1 );
|
||||
ap.addItems( nugget );
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -64,7 +64,7 @@ public final class QuartzWorldGen implements IWorldGenerator
|
||||
{
|
||||
final int x = ( chunkX << 4 ) + 8;
|
||||
final int z = ( chunkZ << 4 ) + 8;
|
||||
seaLevel = w.getHeightmapHeight( x, z );
|
||||
seaLevel = w.getHeight( x, z );
|
||||
}
|
||||
|
||||
if( this.oreNormal == null || this.oreCharged == null )
|
||||
|
||||
@@ -66,7 +66,7 @@ public class StandardWorld implements IMeteoriteWorld
|
||||
@Override
|
||||
public boolean hasNoSky()
|
||||
{
|
||||
return !this.getWorld().provider.getHasNoSky();
|
||||
return !this.getWorld().provider.hasNoSky();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user