Fix %player_ping_<x>%
This commit is contained in:
1 parent
a46354bd8c
commit
1ca6914470
1 file changed
+1
-1
@@ -63,7 +63,7 @@ public class PlayerExpansion extends PlaceholderExpansion {
|
||||
}
|
||||
|
||||
if (identifier.startsWith("ping_")) {
|
||||
identifier = identifier.split("has_permission_")[1];
|
||||
identifier = identifier.split("ping_")[1];
|
||||
Player t = Bukkit.getPlayer(identifier);
|
||||
if (t != null) {
|
||||
return getPing(t);
|
||||
|
||||
Reference in new issue
Block a user