Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-20 06:50:08 +01:00
1.17.1-pre2
Dieser Commit ist enthalten in:
Ursprung
aed1a63a77
Commit
24393d4ef4
@ -77,7 +77,7 @@ public class ProtocolVersion {
|
|||||||
public static final ProtocolVersion v1_16_3 = register(753, "1.16.3");
|
public static final ProtocolVersion v1_16_3 = register(753, "1.16.3");
|
||||||
public static final ProtocolVersion v1_16_4 = register(754, "1.16.4/5", new VersionRange("1.16", 4, 5));
|
public static final ProtocolVersion v1_16_4 = register(754, "1.16.4/5", new VersionRange("1.16", 4, 5));
|
||||||
public static final ProtocolVersion v1_17 = register(755, "1.17");
|
public static final ProtocolVersion v1_17 = register(755, "1.17");
|
||||||
public static final ProtocolVersion v1_17_1 = register(756, 36, "1.17.1");
|
public static final ProtocolVersion v1_17_1 = register(756, 37, "1.17.1");
|
||||||
public static final ProtocolVersion unknown = register(-1, "UNKNOWN");
|
public static final ProtocolVersion unknown = register(-1, "UNKNOWN");
|
||||||
|
|
||||||
public static ProtocolVersion register(int version, String name) {
|
public static ProtocolVersion register(int version, String name) {
|
||||||
|
@ -109,7 +109,7 @@ public final class WorldPackets {
|
|||||||
|
|
||||||
private void writeLightArrays(PacketWrapper wrapper, int bitMask) throws Exception {
|
private void writeLightArrays(PacketWrapper wrapper, int bitMask) throws Exception {
|
||||||
List<byte[]> light = new ArrayList<>();
|
List<byte[]> light = new ArrayList<>();
|
||||||
for (int i = 0; i <= 17; i++) {
|
for (int i = 0; i < 18; i++) {
|
||||||
if (isSet(bitMask, i)) {
|
if (isSet(bitMask, i)) {
|
||||||
light.add(wrapper.read(Type.BYTE_ARRAY_PRIMITIVE));
|
light.add(wrapper.read(Type.BYTE_ARRAY_PRIMITIVE));
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Project properties - we put these here so they can be modified without causing a recompile of the build scripts
|
# Project properties - we put these here so they can be modified without causing a recompile of the build scripts
|
||||||
projectVersion=4.0.1-1.17.1-pre1-SNAPSHOT
|
projectVersion=4.0.1-1.17.1-pre2-SNAPSHOT
|
||||||
|
|
||||||
# Gradle properties
|
# Gradle properties
|
||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren