Added %player% to configslot
This commit is contained in:
@@ -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())
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user