Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-28 00:50:13 +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;
|
neighbourY = 15;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ySection == 16 || ySection == -1) continue;
|
if (ySection == chunk.getSections().length || ySection == -1) continue;
|
||||||
|
|
||||||
ChunkSection newSection = chunk.getSections()[ySection];
|
ChunkSection newSection = chunk.getSections()[ySection];
|
||||||
if (newSection == null) continue;
|
if (newSection == null) continue;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren