Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-26 08:10:10 +01:00
Bandaid fix tile entity error
Dieser Commit ist enthalten in:
Ursprung
8e78a14c14
Commit
e71c34255b
@ -302,6 +302,11 @@ public class BlockItemPackets1_13 extends com.viaversion.viabackwards.api.rewrit
|
|||||||
if (!provider.isHandled(id)) continue;
|
if (!provider.isHandled(id)) continue;
|
||||||
|
|
||||||
int sectionIndex = ((NumberTag) tag.get("y")).asInt() >> 4;
|
int sectionIndex = ((NumberTag) tag.get("y")).asInt() >> 4;
|
||||||
|
if (sectionIndex < 0) {
|
||||||
|
// 1.17 chunks
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
ChunkSection section = chunk.getSections()[sectionIndex];
|
ChunkSection section = chunk.getSections()[sectionIndex];
|
||||||
|
|
||||||
int x = ((NumberTag) tag.get("x")).asInt();
|
int x = ((NumberTag) tag.get("x")).asInt();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren