mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-06 16:27:59 +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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>Jobs</groupId>
|
<groupId>Jobs</groupId>
|
||||||
<artifactId>jobs</artifactId>
|
<artifactId>jobs</artifactId>
|
||||||
<version>4.10.3</version>
|
<version>4.11.2</version>
|
||||||
<name>Jobs</name>
|
<name>Jobs</name>
|
||||||
<url>http://maven.apache.org</url>
|
<url>http://maven.apache.org</url>
|
||||||
<properties>
|
<properties>
|
||||||
@ -16,7 +16,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
<artifactId>spigot-api</artifactId>
|
<artifactId>spigot-api</artifactId>
|
||||||
<version>1.14-R0.1-SNAPSHOT</version>
|
<version>1.14.1-R0.1-SNAPSHOT</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- MyPet -->
|
<!-- MyPet -->
|
||||||
|
@ -929,12 +929,6 @@ public class Jobs extends JavaPlugin {
|
|||||||
setEnabled(false);
|
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) {
|
private static void checkDailyQuests(JobsPlayer jPlayer, Job job, ActionInfo info) {
|
||||||
if (!job.getQuests().isEmpty()) {
|
if (!job.getQuests().isEmpty()) {
|
||||||
List<QuestProgression> q = jPlayer.getQuestProgressions(job, info.getType());
|
List<QuestProgression> q = jPlayer.getQuestProgressions(job, info.getType());
|
||||||
|
@ -1332,7 +1332,7 @@ public class JobsPaymentListener implements Listener {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
SpawnReason reason = event.getSpawnReason();
|
SpawnReason reason = event.getSpawnReason();
|
||||||
if (!reason.toString().equalsIgnoreCase("BREEDING"))
|
if (!reason.toString().equalsIgnoreCase("BREEDING") && !reason.toString().equalsIgnoreCase("EGG"))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
LivingEntity animal = event.getEntity();
|
LivingEntity animal = event.getEntity();
|
||||||
|
Loading…
Reference in New Issue
Block a user