Skip to content

Commit

Permalink
fixed gamemode change message
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSwag committed Mar 30, 2024
1 parent 40ec646 commit a59f7ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

group = "net.thenextlvl"
version = "2.0.8"
version = "2.0.9"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public boolean onCommand(CommandSender sender, Command command, String label, St
}
target.setGameMode(gamemode);

plugin.bundle().sendMessage(sender, "gamemode.changed.self", Placeholder.component("gamemode",
plugin.bundle().sendMessage(target, "gamemode.changed.self", Placeholder.component("gamemode",
Component.translatable(gamemode)));

if (target != sender) plugin.bundle().sendMessage(sender, "gamemode.changed.others",
Expand Down

0 comments on commit a59f7ee

Please sign in to comment.