3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-27 08:30:09 +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_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_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 ProtocolVersion register(int version, String name) {

Datei anzeigen

@ -41,7 +41,6 @@ public final class Protocol1_19_4To1_19_3 extends AbstractProtocol<ClientboundPa
@Override
protected void registerPackets() {
// TODO fallback field in components
entityRewriter.register();
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 CommandRewriter1_19_3(Protocol protocol) {
public CommandRewriter1_19_3(Protocol<?, ?, ?, ?> protocol) {
super(protocol);
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
projectVersion=4.6.0-23w03a-SNAPSHOT
projectVersion=4.6.0-23w04a-SNAPSHOT
# Gradle properties
org.gradle.daemon=true