3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-10-08 11:10:06 +02:00

Replaced hardcoded chunk section out of bounds check (#3136)

Dieser Commit ist enthalten in:
RK_01 2022-10-07 23:07:50 +02:00 committet von GitHub
Ursprung 7698ee7683
Commit 464a85c52b
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -382,7 +382,7 @@ public class WorldPackets {
neighbourY = 15;
}
if (ySection == 16 || ySection == -1) continue;
if (ySection == chunk.getSections().length || ySection == -1) continue;
ChunkSection newSection = chunk.getSections()[ySection];
if (newSection == null) continue;