mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-16 13:03:40 +08:00
[WIP] Command Targeting overhaul
This commit is contained in:
committed by
Melledy
Unverified
parent
4e0ebe56a6
commit
82ec63c4e4
@@ -11,7 +11,7 @@ import java.util.List;
|
||||
description = "Forces someone to join the world of others", permission = "server.coop")
|
||||
public final class CoopCommand implements CommandHandler {
|
||||
@Override
|
||||
public void execute(Player sender, List<String> args) {
|
||||
public void execute(Player sender, Player targetPlayer, List<String> args) {
|
||||
if (args.size() < 2) {
|
||||
CommandHandler.sendMessage(sender, Grasscutter.getLanguage().Coop_usage);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user