mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-07 00:38:42 +01:00
Fix for showing messages without payment (again) (#543)
This commit is contained in:
parent
41d2e04b50
commit
6f4501ff05
@ -220,6 +220,9 @@ public class BufferedEconomy {
|
||||
if (!ToggleBarHandling.getActionBarToggle().containsKey(playername))
|
||||
return;
|
||||
|
||||
if (payment.getAmount() == 0.0D && payment.getPoints() == 0.0D && payment.getExp() == 0.0D)
|
||||
return;
|
||||
|
||||
Boolean show = ToggleBarHandling.getActionBarToggle().get(playername);
|
||||
Player abp = Bukkit.getPlayer(payment.getOfflinePlayer().getUniqueId());
|
||||
if ((abp != null) && (show.booleanValue())) {
|
||||
|
Loading…
Reference in New Issue
Block a user