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:
Ursprung
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) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren