mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-18 01:46:44 +01:00
Renamed all references to a certain game
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package emu.grasscutter.command;
|
||||
|
||||
import emu.grasscutter.Grasscutter;
|
||||
import emu.grasscutter.game.GenshinPlayer;
|
||||
import emu.grasscutter.game.Player;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -12,7 +12,7 @@ public interface CommandHandler {
|
||||
* @param player The player to send the message to, or null for the server console.
|
||||
* @param message The message to send.
|
||||
*/
|
||||
static void sendMessage(GenshinPlayer player, String message) {
|
||||
static void sendMessage(Player player, String message) {
|
||||
if (player == null) {
|
||||
Grasscutter.getLogger().info(message);
|
||||
} else {
|
||||
@@ -25,6 +25,6 @@ public interface CommandHandler {
|
||||
* @param sender The player/console that invoked the command.
|
||||
* @param args The arguments to the command.
|
||||
*/
|
||||
default void execute(GenshinPlayer sender, List<String> args) {
|
||||
default void execute(Player sender, List<String> args) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user