mirror of
https://github.com/Zrips/Jobs.git
synced 2025-02-08 08:21:41 +01:00
Bake income should work now
This commit is contained in:
parent
c825a2de56
commit
d98bb4aaf9
@ -24,3 +24,4 @@
|
||||
- Fixed issue when used 1.12 and lower versions then some materials not work correctly.
|
||||
- Added option to jobs shop to hide icon if a player there are no enough points to buy a item
|
||||
- Fixed issue for inventory dragging when a player is in jobs GUI.
|
||||
- Added new action type: Bake, to cooking foods with campfire.
|
||||
|
@ -435,8 +435,8 @@ public class LanguageManager {
|
||||
c.get("command.info.output.custom-kill.none", "%jobname% does not get money from custom player kills.");
|
||||
c.get("command.info.output.collect.info", "&eCollect");
|
||||
c.get("command.info.output.collect.none", "%jobname% does not get money for collecting blocks.");
|
||||
c.get("command.info.output.cook.info", "&eCook");
|
||||
c.get("command.info.output.cook.none", "%jobname% does not get money for cooking foods.");
|
||||
c.get("command.info.output.bake.info", "&eBake");
|
||||
c.get("command.info.output.bake.none", "%jobname% does not get money for cooking foods.");
|
||||
|
||||
c.get("command.playerinfo.help.info", "Show how much each job is getting paid and for what on another player.");
|
||||
c.get("command.playerinfo.help.args", "[playername] [jobname] [action]");
|
||||
|
@ -50,8 +50,10 @@ public class JobsPayment14Listener implements Listener {
|
||||
if (jPlayer == null)
|
||||
return;
|
||||
|
||||
Jobs.action(jPlayer, new ItemActionInfo(event.getResult(), ActionType.BAKE));
|
||||
it.remove();
|
||||
Jobs.action(jPlayer, new ItemActionInfo(event.getSource(), ActionType.BAKE));
|
||||
if (camps.getValue().getItem().equals(event.getSource())) {
|
||||
it.remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user