Merge remote-tracking branch 'origin/master' into develop

This commit is contained in:
Auxilor
2022-09-30 15:24:43 +01:00

View File

@@ -102,12 +102,12 @@ public class ConfigSlot extends CustomSlot {
if (console()) {
Bukkit.dispatchCommand(
Bukkit.getConsoleSender(),
command()
command().replace("%player%", player.getName())
);
} else {
Bukkit.dispatchCommand(
player,
command()
command().replace("%player%", player.getName())
);
}
}