Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-11-20 06:50:10 +01:00
4.0.1 Release
Dieser Commit ist enthalten in:
Ursprung
29d3787de8
Commit
3f01f0100c
@ -5,7 +5,7 @@ plugins {
|
|||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
group = "com.viaversion"
|
group = "com.viaversion"
|
||||||
version = "4.0.1-1.17.1-rc1-SNAPSHOT"
|
version = "4.0.1"
|
||||||
description = "Allow older clients to join newer server versions."
|
description = "Allow older clients to join newer server versions."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -174,7 +174,7 @@ public abstract class LegacyBlockItemRewriter<T extends BackwardsProtocol> exten
|
|||||||
tags.put(pos, tag);
|
tags.put(pos, tag);
|
||||||
|
|
||||||
// Handle given Block Entities
|
// Handle given Block Entities
|
||||||
if (pos.getY() < 0) continue; // 1.17
|
if (pos.getY() < 0 || pos.getY() > 255) continue; // 1.17
|
||||||
|
|
||||||
ChunkSection section = chunk.getSections()[pos.getY() >> 4];
|
ChunkSection section = chunk.getSections()[pos.getY() >> 4];
|
||||||
if (section == null) continue;
|
if (section == null) continue;
|
||||||
|
@ -302,7 +302,7 @@ 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) {
|
if (sectionIndex < 0 || sectionIndex > 15) {
|
||||||
// 1.17 chunks
|
// 1.17 chunks
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren