This commit is contained in:
Nassim Jahnke 2023-01-24 17:03:08 +01:00
parent 50b94abcb1
commit 4031429430
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
4 changed files with 3 additions and 4 deletions

View File

@ -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) {

View File

@ -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) {

View File

@ -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
}

View File

@ -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