From 7de0b553d3cb15840e8df06f96396f66763cb7e9 Mon Sep 17 00:00:00 2001 From: Fabrizio La Rosa Date: Thu, 16 Jul 2020 11:06:21 +0200 Subject: [PATCH] Implemented more methods in Manager --- src/main/java/com/songoda/skyblock/manager/Manager.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/songoda/skyblock/manager/Manager.java b/src/main/java/com/songoda/skyblock/manager/Manager.java index 90ac07d7..e11d1a05 100644 --- a/src/main/java/com/songoda/skyblock/manager/Manager.java +++ b/src/main/java/com/songoda/skyblock/manager/Manager.java @@ -1,6 +1,7 @@ package com.songoda.skyblock.manager; import com.songoda.skyblock.SkyBlock; +import org.bukkit.entity.Player; public abstract class Manager { @@ -13,11 +14,15 @@ public abstract class Manager { /** * Reloads the Manager's settings */ - public abstract void reload(); + public void reload() {}; /** * Cleans up the Manager's resources */ - public abstract void disable(); + public void disable() {}; + + public void triggerPlayerLogin(Player player) {} + + public void triggerPlayerLogout(Player player) {} }