Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +01:00
Replaced hardcoded chunk section out of bounds check (#3136)
Dieser Commit ist enthalten in:
Ursprung
7698ee7683
Commit
464a85c52b
@ -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;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren