diff --git a/src/main/java/com/gamingmesh/jobs/PlayerManager.java b/src/main/java/com/gamingmesh/jobs/PlayerManager.java index f18a14d3..87913c5d 100644 --- a/src/main/java/com/gamingmesh/jobs/PlayerManager.java +++ b/src/main/java/com/gamingmesh/jobs/PlayerManager.java @@ -1087,7 +1087,7 @@ public class PlayerManager { @Deprecated public boolean containsItemBoostByNBT(ItemStack item) { - return containsItemBoostByNBT(item); + return ItemBoostManager.containsItemBoostByNBT(item); } @Deprecated diff --git a/src/main/resources/jobs/_EXAMPLE.yml b/src/main/resources/jobs/_EXAMPLE.yml index 6bcc5bde..e7164aed 100644 --- a/src/main/resources/jobs/_EXAMPLE.yml +++ b/src/main/resources/jobs/_EXAMPLE.yml @@ -101,15 +101,8 @@ exampleJob: # GUI icon information when using GUI function Gui: # name of the material - # You can use the custom player head: - # Item: player_head - # CustomSkull: Notch - Item: LOG:2 - - # enchants in the item - Enchantments: - - 'DURABILITY:1' - + ItemStack: oaklog;DURABILITY:1 + # The number of slot where to put this material in gui. slot: 2 diff --git a/src/main/resources/jobs/brewer.yml b/src/main/resources/jobs/brewer.yml index 87ba3db0..382cdd58 100644 --- a/src/main/resources/jobs/brewer.yml +++ b/src/main/resources/jobs/brewer.yml @@ -28,7 +28,7 @@ Brewer: - Brew some stuff and get money - Get 100 for this! Gui: - Item: brewing_stand + ItemStack: brewing_stand Brew: nether_wart: income: 6.0 diff --git a/src/main/resources/jobs/builder.yml b/src/main/resources/jobs/builder.yml index 5bc92a8b..e9cdfadf 100644 --- a/src/main/resources/jobs/builder.yml +++ b/src/main/resources/jobs/builder.yml @@ -28,7 +28,7 @@ Builder: - Place blocks and get money - Get 100 for this! Gui: - Item: brick_stairs + ItemStack: brick_stairs Place: stone: income: 1.3 diff --git a/src/main/resources/jobs/crafter.yml b/src/main/resources/jobs/crafter.yml index 5b16981e..caee466c 100644 --- a/src/main/resources/jobs/crafter.yml +++ b/src/main/resources/jobs/crafter.yml @@ -28,7 +28,7 @@ Crafter: - Craft and get money - Get 100 for this! Gui: - Item: crafting_table + ItemStack: crafting_table Craft: stick: income: 0.1 diff --git a/src/main/resources/jobs/digger.yml b/src/main/resources/jobs/digger.yml index 67ff4a23..543b277f 100644 --- a/src/main/resources/jobs/digger.yml +++ b/src/main/resources/jobs/digger.yml @@ -28,7 +28,7 @@ Digger: - Dig blocks and get money - Get 100 for this! Gui: - Item: wooden_shovel + ItemStack: wooden_shovel Break: red_sand: income: 1 diff --git a/src/main/resources/jobs/enchanter.yml b/src/main/resources/jobs/enchanter.yml index aa5a45c2..3f59cedd 100644 --- a/src/main/resources/jobs/enchanter.yml +++ b/src/main/resources/jobs/enchanter.yml @@ -28,7 +28,7 @@ Enchanter: - Be a wizard and get money - Get 100 for this! Gui: - Item: enchanting_table + ItemStack: 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 120a74b0..fb9cc356 100644 --- a/src/main/resources/jobs/explorer.yml +++ b/src/main/resources/jobs/explorer.yml @@ -26,7 +26,7 @@ Explorer: - Go on a trip and get money - Get 100 for this! Gui: - Item: leather_boots + ItemStack: leather_boots Explore: '1': income: 5.0 diff --git a/src/main/resources/jobs/farmer.yml b/src/main/resources/jobs/farmer.yml index 34599b1b..a70bfadb 100644 --- a/src/main/resources/jobs/farmer.yml +++ b/src/main/resources/jobs/farmer.yml @@ -28,7 +28,7 @@ Farmer: - Be a farmer and get money - Get 100 for this! Gui: - Item: wooden_hoe + ItemStack: wooden_hoe Tame: Wolf: income: 5.0 diff --git a/src/main/resources/jobs/fisherman.yml b/src/main/resources/jobs/fisherman.yml index af56f6d6..1e7de2c4 100644 --- a/src/main/resources/jobs/fisherman.yml +++ b/src/main/resources/jobs/fisherman.yml @@ -28,7 +28,7 @@ Fisherman: - Catch fish and get money - Get 100 for this! Gui: - Item: fishing_rod + ItemStack: fishing_rod Fish: cod: income: 15.0 diff --git a/src/main/resources/jobs/hunter.yml b/src/main/resources/jobs/hunter.yml index c2ce0684..f98b7d71 100644 --- a/src/main/resources/jobs/hunter.yml +++ b/src/main/resources/jobs/hunter.yml @@ -28,7 +28,7 @@ Hunter: - Kill everything what moves and get money - Get 100 for this! Gui: - Item: bow + ItemStack: bow Tame: Wolf: income: 20.0 diff --git a/src/main/resources/jobs/miner.yml b/src/main/resources/jobs/miner.yml index 4cdbcdfa..82656be3 100644 --- a/src/main/resources/jobs/miner.yml +++ b/src/main/resources/jobs/miner.yml @@ -28,7 +28,7 @@ Miner: - Break blocks and get money - Get 100 for this! Gui: - Item: wooden_pickaxe + ItemStack: wooden_pickaxe TNTBreak: stone: income: 0.25 diff --git a/src/main/resources/jobs/weaponsmith.yml b/src/main/resources/jobs/weaponsmith.yml index 64e3634c..11497a37 100644 --- a/src/main/resources/jobs/weaponsmith.yml +++ b/src/main/resources/jobs/weaponsmith.yml @@ -28,7 +28,7 @@ Weaponsmith: - Craft weapons and get money - Get 100 for this! Gui: - Item: crafting_table + ItemStack: 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 64dc4680..e6adc574 100644 --- a/src/main/resources/jobs/woodcutter.yml +++ b/src/main/resources/jobs/woodcutter.yml @@ -28,7 +28,7 @@ Woodcutter: - Break logs and get money - Get 100 for this! Gui: - Item: birch_log + ItemStack: birch_log Break: materials: - oak_log;1.0;1.0;1.0