diff --git a/pom.xml b/pom.xml index 833c9f4d..9010d446 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 Jobs jobs - 4.10.3 + 4.11.2 Jobs http://maven.apache.org @@ -16,7 +16,7 @@ org.spigotmc spigot-api - 1.14-R0.1-SNAPSHOT + 1.14.1-R0.1-SNAPSHOT provided diff --git a/src/main/java/com/gamingmesh/jobs/Jobs.java b/src/main/java/com/gamingmesh/jobs/Jobs.java index c1d93c21..6aab6244 100644 --- a/src/main/java/com/gamingmesh/jobs/Jobs.java +++ b/src/main/java/com/gamingmesh/jobs/Jobs.java @@ -929,12 +929,6 @@ public class Jobs extends JavaPlugin { setEnabled(false); } - @SuppressWarnings("unused") - @Deprecated - private static void checkDailyQuests(JobsPlayer jPlayer, JobProgression prog, ActionInfo info) { - checkDailyQuests(jPlayer, prog.getJob(), info); - } - private static void checkDailyQuests(JobsPlayer jPlayer, Job job, ActionInfo info) { if (!job.getQuests().isEmpty()) { List q = jPlayer.getQuestProgressions(job, info.getType()); diff --git a/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java b/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java index bd56cb0c..abb36431 100644 --- a/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java +++ b/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java @@ -1332,7 +1332,7 @@ public class JobsPaymentListener implements Listener { return; SpawnReason reason = event.getSpawnReason(); - if (!reason.toString().equalsIgnoreCase("BREEDING")) + if (!reason.toString().equalsIgnoreCase("BREEDING") && !reason.toString().equalsIgnoreCase("EGG")) return; LivingEntity animal = event.getEntity();