3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 05:20:14 +01:00

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> {
InvocableCommandNodeFactory<SimpleCommand.Invocation> SIMPLE =
new InvocableCommandNodeFactory<>() {
new InvocableCommandNodeFactory<SimpleCommand.Invocation>() {
@Override
protected SimpleCommand.Invocation createInvocation(
final CommandContext<CommandSource> context) {
@ -24,7 +24,7 @@ public interface CommandNodeFactory<T extends Command> {
};
InvocableCommandNodeFactory<RawCommand.Invocation> RAW =
new InvocableCommandNodeFactory<>() {
new InvocableCommandNodeFactory<RawCommand.Invocation>() {
@Override
protected RawCommand.Invocation createInvocation(
final CommandContext<CommandSource> context) {