diff --git a/build.gradle b/build.gradle index 72d37e5..75929c0 100644 --- a/build.gradle +++ b/build.gradle @@ -23,8 +23,8 @@ repositories { } dependencies { - compileOnly "com.viaversion:viaversion-common:4.9.1" - compileOnly "com.viaversion:viabackwards-common:4.9.0" + compileOnly "com.viaversion:viaversion-common:4.10.0-23w51b-SNAPSHOT" + compileOnly "com.viaversion:viabackwards-common:4.10.0-23w51b-SNAPSHOT" compileOnly "org.yaml:snakeyaml:2.2" compileOnly "com.google.guava:guava:33.0.0-jre" compileOnly "io.netty:netty-handler:4.1.104.Final" diff --git a/src/main/java/net/raphimc/viaaprilfools/protocols/protocol1_16to20w14infinite/packets/EntityPackets20w14infinite.java b/src/main/java/net/raphimc/viaaprilfools/protocols/protocol1_16to20w14infinite/packets/EntityPackets20w14infinite.java index 8d9cefb..2ea27fd 100644 --- a/src/main/java/net/raphimc/viaaprilfools/protocols/protocol1_16to20w14infinite/packets/EntityPackets20w14infinite.java +++ b/src/main/java/net/raphimc/viaaprilfools/protocols/protocol1_16to20w14infinite/packets/EntityPackets20w14infinite.java @@ -137,7 +137,7 @@ public class EntityPackets20w14infinite { for (int i = 0; i < size; i++) { // Attributes have been renamed and are now namespaced identifiers String key = wrapper.read(Type.STRING); - String attributeIdentifier = Via.getManager().getProtocolManager().getProtocol(Protocol1_16To1_15_2.class).getMappingData().getAttributeMappings().get(key); + String attributeIdentifier = Via.getManager().getProtocolManager().getProtocol(Protocol1_16To1_15_2.class).getMappingData().attributeIdentifierMappings().get(key); if (attributeIdentifier == null) { attributeIdentifier = "minecraft:" + key; if (!Key.isValid(attributeIdentifier)) {