Fix for null rank in /c staff server.
This commit is contained in:
parent
375b23db3c
commit
476dd17ffe
@ -99,7 +99,7 @@ public class CustomerSupport extends MiniPlugin
|
|||||||
|
|
||||||
caller.sendMessage(C.cDGreen + C.Strike + "=============================================");
|
caller.sendMessage(C.cDGreen + C.Strike + "=============================================");
|
||||||
caller.sendMessage(C.cBlue + "Name : " + C.cYellow + playerName);
|
caller.sendMessage(C.cBlue + "Name : " + C.cYellow + playerName);
|
||||||
caller.sendMessage(C.cBlue + "Rank : " + C.cYellow + (client.GetRank().Name.isEmpty() ? "Regular" : client.GetRank().Name));
|
caller.sendMessage(C.cBlue + "Rank : " + C.cYellow + (client.GetRank() == null ? C.cRed + "Error rank null!" : (client.GetRank().Name.isEmpty() ? "Regular" : client.GetRank().Name)));
|
||||||
caller.sendMessage(C.cBlue + "Coins : " + C.cYellow + donor.getCoins());
|
caller.sendMessage(C.cBlue + "Coins : " + C.cYellow + donor.getCoins());
|
||||||
caller.sendMessage(C.cBlue + "Gems : " + C.cYellow + donor.GetGems());
|
caller.sendMessage(C.cBlue + "Gems : " + C.cYellow + donor.GetGems());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user