mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-07 00:38:42 +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("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("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.toplineseparator", "&7*********************** &6%playername% &7***********************");
|
||||||
c.get("general.info.separator", "&7*******************************************************");
|
c.get("general.info.separator", "&7*******************************************************");
|
||||||
c.get("general.info.time.days", "&e%days% &6days ");
|
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.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.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.taxes", "&3[amount] &eserver taxes were transferred to this account");
|
||||||
|
|
||||||
c.get("message.boostStarted", "&eJobs boost time have been started!");
|
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 {
|
public class JobsListener implements Listener {
|
||||||
|
|
||||||
private Jobs plugin;
|
private Jobs plugin;
|
||||||
private HashMap<UUID, Long> interactDelay = new HashMap<>();
|
|
||||||
|
private final HashMap<UUID, Long> interactDelay = new HashMap<>();
|
||||||
|
|
||||||
public JobsListener(Jobs plugin) {
|
public JobsListener(Jobs plugin) {
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
|
@ -1687,8 +1687,8 @@ public class JobsPaymentListener implements Listener {
|
|||||||
- Jobs.getNms().getDurability(iih) != iih.getType().getMaxDurability())
|
- Jobs.getNms().getDurability(iih) != iih.getType().getMaxDurability())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Bukkit.getScheduler().runTaskLater(plugin, () ->
|
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, () ->
|
||||||
Jobs.action(jPlayer, new BlockActionInfo(block, ActionType.STRIPLOGS), block), 3);
|
Jobs.action(jPlayer, new BlockActionInfo(block, ActionType.STRIPLOGS), block), 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user