mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-02 13:31:54 +01:00
This reverts commit 90c4a2f53c
.
This commit is contained in:
parent
90c4a2f53c
commit
a782043798
@ -163,7 +163,7 @@ public class Kit {
|
||||
if (kitItem.startsWith("/")) {
|
||||
String command = kitItem.substring(1);
|
||||
String name = user.getName();
|
||||
command = command.replaceAll("{(?:player|PLAYER)}", name);
|
||||
command = command.replace("{player}", name);
|
||||
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), command);
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user