forked from Upstream/mmocore
Placeholders are no longer ignored when a player isn't in a guild
This commit is contained in:
parent
0ebd33c1c1
commit
7342f5420b
@ -153,7 +153,7 @@ public class RPGPlaceholders extends PlaceholderExpansion /** implements Relatio
|
||||
else if (identifier.startsWith("guild_")) {
|
||||
String placeholder = identifier.substring(6);
|
||||
PlayerData data = PlayerData.get(player);
|
||||
if(data.getGuild() == null) return null;
|
||||
if(data.getGuild() == null) return "";
|
||||
|
||||
if (placeholder.equalsIgnoreCase("name"))
|
||||
return data.getGuild().getName();
|
||||
|
Loading…
Reference in New Issue
Block a user