13
0
geforkt von Mirrors/Velocity

Fix compile with JDK 8

Dieser Commit ist enthalten in:
Andrew Steinborn 2020-07-29 03:47:02 -04:00
Ursprung 6cc6e0f641
Commit ae0bf6cfca

Datei anzeigen

@ -15,7 +15,7 @@ import com.velocitypowered.proxy.util.BrigadierUtils;
public interface CommandNodeFactory<T extends Command> { public interface CommandNodeFactory<T extends Command> {
InvocableCommandNodeFactory<SimpleCommand.Invocation> SIMPLE = InvocableCommandNodeFactory<SimpleCommand.Invocation> SIMPLE =
new InvocableCommandNodeFactory<>() { new InvocableCommandNodeFactory<SimpleCommand.Invocation>() {
@Override @Override
protected SimpleCommand.Invocation createInvocation( protected SimpleCommand.Invocation createInvocation(
final CommandContext<CommandSource> context) { final CommandContext<CommandSource> context) {
@ -24,7 +24,7 @@ public interface CommandNodeFactory<T extends Command> {
}; };
InvocableCommandNodeFactory<RawCommand.Invocation> RAW = InvocableCommandNodeFactory<RawCommand.Invocation> RAW =
new InvocableCommandNodeFactory<>() { new InvocableCommandNodeFactory<RawCommand.Invocation>() {
@Override @Override
protected RawCommand.Invocation createInvocation( protected RawCommand.Invocation createInvocation(
final CommandContext<CommandSource> context) { final CommandContext<CommandSource> context) {