From 75d844a29446fd967270f8ffe700b2f51da376a5 Mon Sep 17 00:00:00 2001 From: Sekwah Date: Sun, 3 Jun 2018 20:30:13 +0100 Subject: [PATCH] Forgot service classes --- .../advancedportals/core/api/services/DestinationServices.java | 2 +- .../advancedportals/core/api/services/PortalServices.java | 2 +- .../core/api/services/PortalTempDataServices.java | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/sekwah/advancedportals/core/api/services/DestinationServices.java b/src/main/java/com/sekwah/advancedportals/core/api/services/DestinationServices.java index e9fe9db0..35102c74 100644 --- a/src/main/java/com/sekwah/advancedportals/core/api/services/DestinationServices.java +++ b/src/main/java/com/sekwah/advancedportals/core/api/services/DestinationServices.java @@ -11,7 +11,7 @@ import java.util.ArrayList; /** * https://github.com/sekwah41/Advanced-Portals/blob/24175610892152828e21f4ff824eb1589ccb0338/src/com/sekwah/advancedportals/core/api/managers/DestinationManager.java * Based off the old manager with the data storage and handling moved to {@link com.sekwah.advancedportals.core.repository.DestinationRepository} */ -public class DestinationServices { +public final class DestinationServices { /** * @param portalsCore diff --git a/src/main/java/com/sekwah/advancedportals/core/api/services/PortalServices.java b/src/main/java/com/sekwah/advancedportals/core/api/services/PortalServices.java index 32e5dfd2..43da30f5 100644 --- a/src/main/java/com/sekwah/advancedportals/core/api/services/PortalServices.java +++ b/src/main/java/com/sekwah/advancedportals/core/api/services/PortalServices.java @@ -18,7 +18,7 @@ import java.util.Map; * * Excluding the temp data like selections */ -public class PortalServices { +public final class PortalServices { public void loadPortals(AdvancedPortalsCore advancedPortalsCore) { } diff --git a/src/main/java/com/sekwah/advancedportals/core/api/services/PortalTempDataServices.java b/src/main/java/com/sekwah/advancedportals/core/api/services/PortalTempDataServices.java index 7e339c31..0b05e2e4 100644 --- a/src/main/java/com/sekwah/advancedportals/core/api/services/PortalTempDataServices.java +++ b/src/main/java/com/sekwah/advancedportals/core/api/services/PortalTempDataServices.java @@ -4,7 +4,8 @@ import com.sekwah.advancedportals.core.api.portal.PortalException; import com.sekwah.advancedportals.core.entities.PortalLocation; import com.sekwah.advancedportals.coreconnector.container.PlayerContainer; -public class PortalTempDataServices { +public final class PortalTempDataServices { + public void activateCooldown(PlayerContainer player) { }