3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-20 06:50:08 +01:00
Dieser Commit ist enthalten in:
Nassim Jahnke 2023-01-24 17:03:08 +01:00
Ursprung 50b94abcb1
Commit 4031429430
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 6BE3B555EBC5982B
4 geänderte Dateien mit 3 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -83,7 +83,7 @@ public class ProtocolVersion {
public static final ProtocolVersion v1_19 = register(759, "1.19"); public static final ProtocolVersion v1_19 = register(759, "1.19");
public static final ProtocolVersion v1_19_1 = register(760, "1.19.1/2", new VersionRange("1.19", 1, 2)); public static final ProtocolVersion v1_19_1 = register(760, "1.19.1/2", new VersionRange("1.19", 1, 2));
public static final ProtocolVersion v1_19_3 = register(761, "1.19.3"); public static final ProtocolVersion v1_19_3 = register(761, "1.19.3");
public static final ProtocolVersion v1_19_4 = register(762, 115, "1.19.4"); public static final ProtocolVersion v1_19_4 = register(762, 116, "1.19.4");
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) {

Datei anzeigen

@ -41,7 +41,6 @@ public final class Protocol1_19_4To1_19_3 extends AbstractProtocol<ClientboundPa
@Override @Override
protected void registerPackets() { protected void registerPackets() {
// TODO fallback field in components
entityRewriter.register(); entityRewriter.register();
final CommandRewriter commandRewriter = new CommandRewriter(this) { final CommandRewriter commandRewriter = new CommandRewriter(this) {

Datei anzeigen

@ -23,7 +23,7 @@ import com.viaversion.viaversion.rewriter.CommandRewriter;
public class CommandRewriter1_19_3 extends CommandRewriter { public class CommandRewriter1_19_3 extends CommandRewriter {
public CommandRewriter1_19_3(Protocol protocol) { public CommandRewriter1_19_3(Protocol<?, ?, ?, ?> protocol) {
super(protocol); super(protocol);
this.parserHandlers.put("minecraft:time", wrapper -> wrapper.passthrough(Type.INT)); // Minimum this.parserHandlers.put("minecraft:time", wrapper -> wrapper.passthrough(Type.INT)); // Minimum
} }

Datei anzeigen

@ -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.6.0-23w03a-SNAPSHOT projectVersion=4.6.0-23w04a-SNAPSHOT
# Gradle properties # Gradle properties
org.gradle.daemon=true org.gradle.daemon=true