1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-29 14:05:25 +01:00

Lets include new mobs in default config

This commit is contained in:
Zrips 2018-12-23 18:22:05 +02:00
parent 6823891c89
commit 2d974b2066
4 changed files with 15 additions and 4 deletions

View File

@ -55,7 +55,6 @@ public class quests implements Cmd {
if (sender instanceof Player) { if (sender instanceof Player) {
for (JobProgression jobProg : jPlayer.getJobProgression()) { for (JobProgression jobProg : jPlayer.getJobProgression()) {
List<QuestProgression> list = jPlayer.getQuestProgressions(jobProg.getJob()); List<QuestProgression> list = jPlayer.getQuestProgressions(jobProg.getJob());
Debug.D("Quest size: " + list.size());
for (QuestProgression q : list) { for (QuestProgression q : list) {
String progressLine = Jobs.getCommandManager().jobProgressMessage(q.getQuest().getAmount(), q.getAmountDone()); String progressLine = Jobs.getCommandManager().jobProgressMessage(q.getQuest().getAmount(), q.getAmountDone());

View File

@ -245,7 +245,6 @@ public class JobsPlayer {
v1 = Jobs.getPermissionManager().getMaxPermission(this, "jobs.boost.all." + type.getName().toLowerCase()); v1 = Jobs.getPermissionManager().getMaxPermission(this, "jobs.boost.all." + type.getName().toLowerCase());
if (Boost == null || v1 != null && v1 > Boost) if (Boost == null || v1 != null && v1 > Boost)
Boost = v1; Boost = v1;
Debug.D(Boost + " " + JobName + " " + type);
return Boost == null ? 0D : Boost; return Boost == null ? 0D : Boost;
} }

View File

@ -574,7 +574,6 @@ public class JobsPaymentListener implements Listener {
if (sourceItems[i] == null) if (sourceItems[i] == null)
continue; continue;
Debug.D("ss");
if (CMIMaterial.isDye(sourceItems[i].getType())) if (CMIMaterial.isDye(sourceItems[i].getType()))
DyeStack.add(sourceItems[i]); DyeStack.add(sourceItems[i]);

View File

@ -208,7 +208,9 @@ Jobs:
# Wolf # Wolf
# Zombie # Zombie
# ZombieVillager # ZombieVillager
# ZombieHusk # Husk
# Phantom
# Drowned
# #
# NOTE: mob names are case sensitive. # NOTE: mob names are case sensitive.
# #
@ -2147,6 +2149,18 @@ Jobs:
income: 5.0 income: 5.0
points: 5 points: 5
experience: 5.0 experience: 5.0
PHANTOM:
income: 5.0
points: 5
experience: 5.0
DROWNED:
income: 5.0
points: 5
experience: 5.0
HUSK:
income: 5.0
points: 5
experience: 5.0
WITHER: WITHER:
income: 50.0 income: 50.0
points: 50 points: 50