mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-25 20:16:13 +01:00
No more turtles!
This commit is contained in:
parent
9be25e994a
commit
f29ed32d3f
@ -364,18 +364,14 @@ public final class Jobs extends JavaPlugin {
|
||||
* @return the schedule manager
|
||||
*/
|
||||
public static ScheduleManager getScheduleManager() {
|
||||
if (scheduleManager == null) {
|
||||
if (scheduleManager == null)
|
||||
scheduleManager = new ScheduleManager(getInstance());
|
||||
}
|
||||
|
||||
return scheduleManager;
|
||||
}
|
||||
|
||||
public static NameTranslatorManager getNameTranslatorManager() {
|
||||
if (nameTranslatorManager == null) {
|
||||
if (nameTranslatorManager == null)
|
||||
nameTranslatorManager = new NameTranslatorManager();
|
||||
}
|
||||
|
||||
return nameTranslatorManager;
|
||||
}
|
||||
|
||||
@ -386,9 +382,8 @@ public final class Jobs extends JavaPlugin {
|
||||
}
|
||||
|
||||
public static JobsCommands getCommandManager() {
|
||||
if (cManager == null) {
|
||||
if (cManager == null)
|
||||
cManager = new JobsCommands(getInstance());
|
||||
}
|
||||
return cManager;
|
||||
}
|
||||
|
||||
@ -415,10 +410,8 @@ public final class Jobs extends JavaPlugin {
|
||||
* @return the sign manager
|
||||
*/
|
||||
public static SignUtil getSignUtil() {
|
||||
if (signManager == null) {
|
||||
if (signManager == null)
|
||||
signManager = new SignUtil(getInstance());
|
||||
}
|
||||
|
||||
return signManager;
|
||||
}
|
||||
|
||||
|
@ -1601,9 +1601,6 @@ public final class JobsPaymentListener implements Listener {
|
||||
if (!Jobs.getGCManager().useBreederFinder || !Jobs.getGCManager().canPerformActionInWorld(event.getEntity().getWorld()))
|
||||
return;
|
||||
|
||||
if (event.getEntity().getType().equals(EntityType.TURTLE))
|
||||
CMIDebug.d(event.getSpawnReason());
|
||||
|
||||
if (!event.getSpawnReason().toString().equalsIgnoreCase("BREEDING") && !event.getSpawnReason().toString().equalsIgnoreCase("EGG"))
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user