mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-02 14:29:07 +01:00
parent
9b47a8a032
commit
4a35431be8
@ -72,7 +72,6 @@ public class LanguageManager {
|
||||
|
||||
c.get("economy.error.nomoney", "&cSorry, no money left in national bank!");
|
||||
c.get("limitedItem.error.levelup", "&cYou need to level up in [jobname] to use this item!");
|
||||
c.get("general.Spawner", "&r[type] Spawner");
|
||||
c.get("general.info.toplineseparator", "&7*********************** &6%playername% &7***********************");
|
||||
c.get("general.info.separator", "&7*******************************************************");
|
||||
c.get("general.info.time.days", "&e%days% &6days ");
|
||||
@ -630,7 +629,6 @@ public class LanguageManager {
|
||||
|
||||
c.get("message.cowtimer", "&eYou still need to wait &6%time% &esec to get paid for this job.");
|
||||
c.get("message.blocktimer", "&eYou need to wait &3[time] &esec more to get paid for this!");
|
||||
c.get("message.placeblocktimer", "&eYou can't place blocks faster than &6[time] &esec in the same place!");
|
||||
c.get("message.taxes", "&3[amount] &eserver taxes were transferred to this account");
|
||||
|
||||
c.get("message.boostStarted", "&eJobs boost time have been started!");
|
||||
|
@ -89,7 +89,8 @@ import com.gamingmesh.jobs.stuff.Util;
|
||||
public class JobsListener implements Listener {
|
||||
|
||||
private Jobs plugin;
|
||||
private HashMap<UUID, Long> interactDelay = new HashMap<>();
|
||||
|
||||
private final HashMap<UUID, Long> interactDelay = new HashMap<>();
|
||||
|
||||
public JobsListener(Jobs plugin) {
|
||||
this.plugin = plugin;
|
||||
|
@ -1687,8 +1687,8 @@ public class JobsPaymentListener implements Listener {
|
||||
- Jobs.getNms().getDurability(iih) != iih.getType().getMaxDurability())
|
||||
return;
|
||||
|
||||
Bukkit.getScheduler().runTaskLater(plugin, () ->
|
||||
Jobs.action(jPlayer, new BlockActionInfo(block, ActionType.STRIPLOGS), block), 3);
|
||||
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, () ->
|
||||
Jobs.action(jPlayer, new BlockActionInfo(block, ActionType.STRIPLOGS), block), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user