diff --git a/src/main/java/com/gamingmesh/jobs/Gui/GuiManager.java b/src/main/java/com/gamingmesh/jobs/Gui/GuiManager.java index 1123f2ba..8533f90b 100644 --- a/src/main/java/com/gamingmesh/jobs/Gui/GuiManager.java +++ b/src/main/java/com/gamingmesh/jobs/Gui/GuiManager.java @@ -91,7 +91,7 @@ public class GuiManager { Job job = jobsList.get(i); List lore = new ArrayList<>(); - for (JobProgression onePJob : jPlayer.getJobProgression()) { + for (JobProgression onePJob : jPlayer.progression) { if (onePJob.getJob().getName().equalsIgnoreCase(job.getName())) { lore.add(Jobs.getLanguage().getMessage("command.info.gui.working")); break; diff --git a/src/main/resources/jobs/brewer.yml b/src/main/resources/jobs/brewer.yml index 39864716..87ba3db0 100644 --- a/src/main/resources/jobs/brewer.yml +++ b/src/main/resources/jobs/brewer.yml @@ -28,8 +28,7 @@ Brewer: - Brew some stuff and get money - Get 100 for this! Gui: - Id: 379 - Data: 0 + Item: brewing_stand Brew: nether_wart: income: 6.0 diff --git a/src/main/resources/jobs/digger.yml b/src/main/resources/jobs/digger.yml index 2f0bcfac..67ff4a23 100644 --- a/src/main/resources/jobs/digger.yml +++ b/src/main/resources/jobs/digger.yml @@ -28,8 +28,7 @@ Digger: - Dig blocks and get money - Get 100 for this! Gui: - Id: 269 - Data: 0 + Item: wooden_shovel Break: red_sand: income: 1 diff --git a/src/main/resources/jobs/enchanter.yml b/src/main/resources/jobs/enchanter.yml index 4d012b87..f19006de 100644 --- a/src/main/resources/jobs/enchanter.yml +++ b/src/main/resources/jobs/enchanter.yml @@ -28,8 +28,7 @@ Enchanter: - Be a wizard and get money - Get 100 for this! Gui: - Id: 116 - Data: 0 + Item: enchanting_table Enchant: wood_sword: income: 1.5 diff --git a/src/main/resources/jobs/explorer.yml b/src/main/resources/jobs/explorer.yml index 6d76a211..120a74b0 100644 --- a/src/main/resources/jobs/explorer.yml +++ b/src/main/resources/jobs/explorer.yml @@ -26,8 +26,7 @@ Explorer: - Go on a trip and get money - Get 100 for this! Gui: - Id: 301 - Data: 0 + Item: leather_boots Explore: '1': income: 5.0 diff --git a/src/main/resources/jobs/hunter.yml b/src/main/resources/jobs/hunter.yml index 014b97bf..c2ce0684 100644 --- a/src/main/resources/jobs/hunter.yml +++ b/src/main/resources/jobs/hunter.yml @@ -28,8 +28,7 @@ Hunter: - Kill everything what moves and get money - Get 100 for this! Gui: - Id: 261 - Data: 0 + Item: bow Tame: Wolf: income: 20.0 diff --git a/src/main/resources/jobs/miner.yml b/src/main/resources/jobs/miner.yml index 03b04d58..cd2c140a 100644 --- a/src/main/resources/jobs/miner.yml +++ b/src/main/resources/jobs/miner.yml @@ -28,8 +28,7 @@ Miner: - Break blocks and get money - Get 100 for this! Gui: - Id: 270 - Data: 0 + Item: wooden_pickaxe TNTBreak: stone: income: 0.25 diff --git a/src/main/resources/jobs/weaponsmith.yml b/src/main/resources/jobs/weaponsmith.yml index 41f45e5d..64e3634c 100644 --- a/src/main/resources/jobs/weaponsmith.yml +++ b/src/main/resources/jobs/weaponsmith.yml @@ -28,8 +28,7 @@ Weaponsmith: - Craft weapons and get money - Get 100 for this! Gui: - Id: 58 - Data: 0 + Item: crafting_table Craft: wooden_sword: income: 1.0 diff --git a/src/main/resources/jobs/woodcutter.yml b/src/main/resources/jobs/woodcutter.yml index 6603a300..64dc4680 100644 --- a/src/main/resources/jobs/woodcutter.yml +++ b/src/main/resources/jobs/woodcutter.yml @@ -28,8 +28,7 @@ Woodcutter: - Break logs and get money - Get 100 for this! Gui: - Id: 17 - Data: 2 + Item: birch_log Break: materials: - oak_log;1.0;1.0;1.0