diff --git a/src/test/java/demo/commands/GamemodeCommand.java b/src/test/java/demo/commands/GamemodeCommand.java index 41847e332..8ddba72b2 100644 --- a/src/test/java/demo/commands/GamemodeCommand.java +++ b/src/test/java/demo/commands/GamemodeCommand.java @@ -113,7 +113,7 @@ public class GamemodeCommand extends Command { p.sendMessage(Component.translatable("gameMode.changed", gamemodeComponent), MessageType.SYSTEM); //Send a message to the sender - sender.sendMessage(Component.translatable("commands.gamemode.success.other", playername, gamemodeComponent), MessageType.SYSTEM); + sender.sendMessage(Component.translatable("commands.gamemode.success.other", playerName, gamemodeComponent), MessageType.SYSTEM); } } }