Merge pull request #413 from PocketDreams/master
Change build height from 128 to 256, fixes #412
This commit is contained in:
commit
8305be7d0f
@ -247,7 +247,7 @@ public class NukkitWorld extends LocalWorld {
|
||||
|
||||
@Override
|
||||
public int getMaxY() {
|
||||
return 127;
|
||||
return 255;
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -257,7 +257,7 @@ public class NukkitWorld extends LocalWorld {
|
||||
|
||||
@Override
|
||||
public Vector getMaximumPoint() {
|
||||
return new Vector(30000000, 127, 30000000);
|
||||
return new Vector(30000000, 255, 30000000);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -29,7 +29,7 @@ public class FaweNukkit implements IFawe, Listener {
|
||||
|
||||
public FaweNukkit(NukkitWorldEdit mod) {
|
||||
this.plugin = mod;
|
||||
FaweChunk.HEIGHT = 128;
|
||||
FaweChunk.HEIGHT = 256;
|
||||
plugin.getServer().getPluginManager().registerEvents(this, plugin);
|
||||
}
|
||||
|
||||
|
@ -171,7 +171,7 @@ public class NukkitQueue extends NMSMappedFaweQueue<Level, BaseFullChunk, BaseFu
|
||||
|
||||
@Override
|
||||
public void setFullbright(BaseFullChunk sections) {
|
||||
for (int y = 0; y < 128; y++) {
|
||||
for (int y = 0; y < 256; y++) {
|
||||
for (int z = 0; z < 16; z++) {
|
||||
for (int x = 0; x < 16; x++) {
|
||||
sections.setBlockSkyLight(x, y, z, 15);
|
||||
@ -182,7 +182,7 @@ public class NukkitQueue extends NMSMappedFaweQueue<Level, BaseFullChunk, BaseFu
|
||||
|
||||
@Override
|
||||
public boolean removeLighting(BaseFullChunk sections, RelightMode mode, boolean hasSky) {
|
||||
for (int y = 0; y < 128; y++) {
|
||||
for (int y = 0; y < 256; y++) {
|
||||
for (int z = 0; z < 16; z++) {
|
||||
for (int x = 0; x < 16; x++) {
|
||||
sections.setBlockSkyLight(x, y, z, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user