mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-27 00:45:40 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
3a637d9144
@ -44,8 +44,10 @@ public class RPGPlaceholders extends PlaceholderExpansion {
|
||||
@SuppressWarnings("DuplicateExpressions")
|
||||
@Override
|
||||
public String onRequest(OfflinePlayer player, String identifier) {
|
||||
PlayerData playerData = PlayerData.get(player);
|
||||
if (!PlayerData.has(player.getUniqueId()))
|
||||
return null;
|
||||
|
||||
PlayerData playerData = PlayerData.get(player);
|
||||
if (identifier.equals("mana_icon"))
|
||||
return playerData.getProfess().getManaDisplay().getIcon();
|
||||
if (identifier.equals("mana_name"))
|
||||
|
Loading…
Reference in New Issue
Block a user