From ae0bf6cfca73a90abbf4e497230c04f8437f9d16 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Wed, 29 Jul 2020 03:47:02 -0400 Subject: [PATCH] Fix compile with JDK 8 --- .../com/velocitypowered/proxy/command/CommandNodeFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {