1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-01 15:03:36 +01:00
This commit is contained in:
Zrips 2024-05-08 16:19:21 +03:00
parent 054a162b7b
commit b2cd2c6e82
2 changed files with 32 additions and 31 deletions

View File

@ -89,7 +89,7 @@ public class HookManager {
} }
public static PyroFishingProManager getPyroFishingProManager() { public static PyroFishingProManager getPyroFishingProManager() {
if(pyroFishingProManager == null) if (pyroFishingProManager == null)
pyroFishingProManager = new PyroFishingProManager(); pyroFishingProManager = new PyroFishingProManager();
return pyroFishingProManager; return pyroFishingProManager;
@ -164,6 +164,7 @@ public class HookManager {
if (JobsHook.BlockTracker.isEnabled()) { if (JobsHook.BlockTracker.isEnabled()) {
blockTrackerManager = new BlockTrackerManager(); blockTrackerManager = new BlockTrackerManager();
} }
}
private static void setPyroFishingProManager() { private static void setPyroFishingProManager() {
if (JobsHook.PyroFishingPro.isEnabled()) { if (JobsHook.PyroFishingPro.isEnabled()) {

View File

@ -11,7 +11,7 @@ public enum JobsHook {
WorldGuard, WorldGuard,
MythicMobs, MythicMobs,
mcMMO, mcMMO,
BlockTracker; BlockTracker,
PyroFishingPro; PyroFishingPro;
private Boolean enabled; private Boolean enabled;