diff --git a/proxy/src/main/java/com/velocitypowered/proxy/command/CommandNodeFactory.java b/proxy/src/main/java/com/velocitypowered/proxy/command/CommandNodeFactory.java index c55c5c1ce..5f0c9fdff 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/command/CommandNodeFactory.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/command/CommandNodeFactory.java @@ -15,7 +15,7 @@ import com.velocitypowered.proxy.util.BrigadierUtils; public interface CommandNodeFactory { InvocableCommandNodeFactory SIMPLE = - new InvocableCommandNodeFactory<>() { + new InvocableCommandNodeFactory() { @Override protected SimpleCommand.Invocation createInvocation( final CommandContext context) { @@ -24,7 +24,7 @@ public interface CommandNodeFactory { }; InvocableCommandNodeFactory RAW = - new InvocableCommandNodeFactory<>() { + new InvocableCommandNodeFactory() { @Override protected RawCommand.Invocation createInvocation( final CommandContext context) {