mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-08 01:08:23 +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))
|
if (!ToggleBarHandling.getActionBarToggle().containsKey(playername))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (payment.getAmount() == 0.0D && payment.getPoints() == 0.0D && payment.getExp() == 0.0D)
|
||||||
|
return;
|
||||||
|
|
||||||
Boolean show = ToggleBarHandling.getActionBarToggle().get(playername);
|
Boolean show = ToggleBarHandling.getActionBarToggle().get(playername);
|
||||||
Player abp = Bukkit.getPlayer(payment.getOfflinePlayer().getUniqueId());
|
Player abp = Bukkit.getPlayer(payment.getOfflinePlayer().getUniqueId());
|
||||||
if ((abp != null) && (show.booleanValue())) {
|
if ((abp != null) && (show.booleanValue())) {
|
||||||
|
Loading…
Reference in New Issue
Block a user