mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-01-18 14:44:07 +08:00
Fix compile with JDK 8
This commit is contained in:
parent
6cc6e0f641
commit
ae0bf6cfca
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user