3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-07 20:10:06 +01:00

Merge pull request #751 from libraryaddict/main

Correct typo from max world height of 265 to 256
Dieser Commit ist enthalten in:
NotMyFault 2020-11-17 09:14:38 +01:00 committet von GitHub
Commit fbc972f89c
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -2559,7 +2559,7 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
int zv = (int) (z.getValue() * unit.getZ() + zero2.getZ()); int zv = (int) (z.getValue() * unit.getZ() + zero2.getZ());
BlockState get; BlockState get;
if (yv >= 0 && yv < 265) { if (yv >= 0 && yv < 256) {
get = getBlock(xv, yv, zv); get = getBlock(xv, yv, zv);
} else { } else {
get = BlockTypes.AIR.getDefaultState(); get = BlockTypes.AIR.getDefaultState();