1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-20 07:01:22 +01:00

So lets change from ids to real names

This commit is contained in:
montlikadani 2021-05-06 21:17:38 +02:00
parent 327da4fa3e
commit f6faa68d79
9 changed files with 9 additions and 17 deletions

View File

@ -91,7 +91,7 @@ public class GuiManager {
Job job = jobsList.get(i); Job job = jobsList.get(i);
List<String> lore = new ArrayList<>(); List<String> lore = new ArrayList<>();
for (JobProgression onePJob : jPlayer.getJobProgression()) { for (JobProgression onePJob : jPlayer.progression) {
if (onePJob.getJob().getName().equalsIgnoreCase(job.getName())) { if (onePJob.getJob().getName().equalsIgnoreCase(job.getName())) {
lore.add(Jobs.getLanguage().getMessage("command.info.gui.working")); lore.add(Jobs.getLanguage().getMessage("command.info.gui.working"));
break; break;

View File

@ -28,8 +28,7 @@ Brewer:
- Brew some stuff and get money - Brew some stuff and get money
- Get 100 for this! - Get 100 for this!
Gui: Gui:
Id: 379 Item: brewing_stand
Data: 0
Brew: Brew:
nether_wart: nether_wart:
income: 6.0 income: 6.0

View File

@ -28,8 +28,7 @@ Digger:
- Dig blocks and get money - Dig blocks and get money
- Get 100 for this! - Get 100 for this!
Gui: Gui:
Id: 269 Item: wooden_shovel
Data: 0
Break: Break:
red_sand: red_sand:
income: 1 income: 1

View File

@ -28,8 +28,7 @@ Enchanter:
- Be a wizard and get money - Be a wizard and get money
- Get 100 for this! - Get 100 for this!
Gui: Gui:
Id: 116 Item: enchanting_table
Data: 0
Enchant: Enchant:
wood_sword: wood_sword:
income: 1.5 income: 1.5

View File

@ -26,8 +26,7 @@ Explorer:
- Go on a trip and get money - Go on a trip and get money
- Get 100 for this! - Get 100 for this!
Gui: Gui:
Id: 301 Item: leather_boots
Data: 0
Explore: Explore:
'1': '1':
income: 5.0 income: 5.0

View File

@ -28,8 +28,7 @@ Hunter:
- Kill everything what moves and get money - Kill everything what moves and get money
- Get 100 for this! - Get 100 for this!
Gui: Gui:
Id: 261 Item: bow
Data: 0
Tame: Tame:
Wolf: Wolf:
income: 20.0 income: 20.0

View File

@ -28,8 +28,7 @@ Miner:
- Break blocks and get money - Break blocks and get money
- Get 100 for this! - Get 100 for this!
Gui: Gui:
Id: 270 Item: wooden_pickaxe
Data: 0
TNTBreak: TNTBreak:
stone: stone:
income: 0.25 income: 0.25

View File

@ -28,8 +28,7 @@ Weaponsmith:
- Craft weapons and get money - Craft weapons and get money
- Get 100 for this! - Get 100 for this!
Gui: Gui:
Id: 58 Item: crafting_table
Data: 0
Craft: Craft:
wooden_sword: wooden_sword:
income: 1.0 income: 1.0

View File

@ -28,8 +28,7 @@ Woodcutter:
- Break logs and get money - Break logs and get money
- Get 100 for this! - Get 100 for this!
Gui: Gui:
Id: 17 Item: birch_log
Data: 2
Break: Break:
materials: materials:
- oak_log;1.0;1.0;1.0 - oak_log;1.0;1.0;1.0