mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-04 23:37:49 +01:00
Now works the turtle breed and other egg, #354
- Update spigot to 1.14.1 - Remove not-used deprecated method
This commit is contained in:
parent
ee94189989
commit
10d74e9593
4
pom.xml
4
pom.xml
@ -5,7 +5,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>Jobs</groupId>
|
||||
<artifactId>jobs</artifactId>
|
||||
<version>4.10.3</version>
|
||||
<version>4.11.2</version>
|
||||
<name>Jobs</name>
|
||||
<url>http://maven.apache.org</url>
|
||||
<properties>
|
||||
@ -16,7 +16,7 @@
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-api</artifactId>
|
||||
<version>1.14-R0.1-SNAPSHOT</version>
|
||||
<version>1.14.1-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- MyPet -->
|
||||
|
@ -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<QuestProgression> q = jPlayer.getQuestProgressions(job, info.getType());
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user