diff --git a/fabric-1.20.1/build.gradle b/fabric-1.20.1/build.gradle index a62f7ef..a01956a 100644 --- a/fabric-1.20.1/build.gradle +++ b/fabric-1.20.1/build.gradle @@ -13,8 +13,6 @@ dependencies { modCompileOnly 'net.fabricmc:fabric-loader:0.15.11' modCompileOnly 'net.fabricmc.fabric-api:fabric-api:0.92.2+1.20.1' - modImplementation include('net.kyori:adventure-platform-fabric:5.9.0') - compileOnly 'org.projectlombok:lombok:1.18.32' annotationProcessor 'org.projectlombok:lombok:1.18.32' diff --git a/fabric-1.20.1/src/main/java/net/william278/uniform/fabric/FabricCommandUser.java b/fabric-1.20.1/src/main/java/net/william278/uniform/fabric/FabricCommandUser.java index 4104ba7..52a820f 100644 --- a/fabric-1.20.1/src/main/java/net/william278/uniform/fabric/FabricCommandUser.java +++ b/fabric-1.20.1/src/main/java/net/william278/uniform/fabric/FabricCommandUser.java @@ -33,7 +33,7 @@ public record FabricCommandUser(@NotNull ServerCommandSource source) implements @Override public Audience getAudience() { - return source.getPlayer(); + return (Audience) source.getPlayer(); } @Override diff --git a/fabric-1.20.6/build.gradle b/fabric-1.20.6/build.gradle index 0b91f1b..fecb70c 100644 --- a/fabric-1.20.6/build.gradle +++ b/fabric-1.20.6/build.gradle @@ -13,8 +13,6 @@ dependencies { modCompileOnly 'net.fabricmc:fabric-loader:0.15.11' modCompileOnly 'net.fabricmc.fabric-api:fabric-api:0.100.0+1.20.6' - modImplementation include('net.kyori:adventure-platform-fabric:5.13.0') - compileOnly 'org.projectlombok:lombok:1.18.32' annotationProcessor 'org.projectlombok:lombok:1.18.32' diff --git a/fabric-1.20.6/src/main/java/net/william278/uniform/fabric/FabricCommandUser.java b/fabric-1.20.6/src/main/java/net/william278/uniform/fabric/FabricCommandUser.java index 4104ba7..52a820f 100644 --- a/fabric-1.20.6/src/main/java/net/william278/uniform/fabric/FabricCommandUser.java +++ b/fabric-1.20.6/src/main/java/net/william278/uniform/fabric/FabricCommandUser.java @@ -33,7 +33,7 @@ public record FabricCommandUser(@NotNull ServerCommandSource source) implements @Override public Audience getAudience() { - return source.getPlayer(); + return (Audience) source.getPlayer(); } @Override