mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 21:56:33 +01:00
Change build height from 128 to 256, fixes #412
This commit is contained in:
parent
1fdc0a59ec
commit
0ceb13eac4
@ -247,7 +247,7 @@ public class NukkitWorld extends LocalWorld {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getMaxY() {
|
public int getMaxY() {
|
||||||
return 127;
|
return 255;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -257,7 +257,7 @@ public class NukkitWorld extends LocalWorld {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Vector getMaximumPoint() {
|
public Vector getMaximumPoint() {
|
||||||
return new Vector(30000000, 127, 30000000);
|
return new Vector(30000000, 255, 30000000);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -29,7 +29,7 @@ public class FaweNukkit implements IFawe, Listener {
|
|||||||
|
|
||||||
public FaweNukkit(NukkitWorldEdit mod) {
|
public FaweNukkit(NukkitWorldEdit mod) {
|
||||||
this.plugin = mod;
|
this.plugin = mod;
|
||||||
FaweChunk.HEIGHT = 128;
|
FaweChunk.HEIGHT = 256;
|
||||||
plugin.getServer().getPluginManager().registerEvents(this, plugin);
|
plugin.getServer().getPluginManager().registerEvents(this, plugin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -171,7 +171,7 @@ public class NukkitQueue extends NMSMappedFaweQueue<Level, BaseFullChunk, BaseFu
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setFullbright(BaseFullChunk sections) {
|
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 z = 0; z < 16; z++) {
|
||||||
for (int x = 0; x < 16; x++) {
|
for (int x = 0; x < 16; x++) {
|
||||||
sections.setBlockSkyLight(x, y, z, 15);
|
sections.setBlockSkyLight(x, y, z, 15);
|
||||||
@ -182,7 +182,7 @@ public class NukkitQueue extends NMSMappedFaweQueue<Level, BaseFullChunk, BaseFu
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean removeLighting(BaseFullChunk sections, RelightMode mode, boolean hasSky) {
|
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 z = 0; z < 16; z++) {
|
||||||
for (int x = 0; x < 16; x++) {
|
for (int x = 0; x < 16; x++) {
|
||||||
sections.setBlockSkyLight(x, y, z, 0);
|
sections.setBlockSkyLight(x, y, z, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user