Testing data

This commit is contained in:
Sekwah 2018-06-06 14:43:20 +01:00 committed by Sekwah
parent e1ba140194
commit a3625af88f
3 changed files with 6 additions and 2 deletions

View File

@ -46,6 +46,7 @@ public class AdvancedPortalsCore {
private PortalServices portalServices = injector.getInstance(PortalServices.class);
private DestinationServices destiServices = injector.getInstance(DestinationServices.class);
private PortalTempDataServices portalTempDataServices = injector.getInstance(PortalTempDataServices.class);
private ConfigRepository configRepository = injector.getInstance(ConfigRepository.class);
public static final String version = "1.0.0";

View File

@ -12,8 +12,10 @@ import com.sekwah.advancedportals.coreconnector.container.WorldContainer;
public class CoreListeners {
@Inject
private PortalTempDataServices portalTempDataServices;
@Inject
private PortalServices portalServices;
@Inject

View File

@ -1,5 +1,6 @@
package com.sekwah.advancedportals.core.api.services;
import com.sekwah.advancedportals.core.AdvancedPortalsCore;
import com.sekwah.advancedportals.core.api.portal.PortalException;
import com.sekwah.advancedportals.core.entities.PortalLocation;
import com.sekwah.advancedportals.coreconnector.container.PlayerContainer;
@ -7,11 +8,11 @@ import com.sekwah.advancedportals.coreconnector.container.PlayerContainer;
public final class PortalTempDataServices {
public void activateCooldown(PlayerContainer player) {
AdvancedPortalsCore.getInfoLogger().log("PLAYER HAS JOINED TEST");
}
public void playerLeave(PlayerContainer player) {
AdvancedPortalsCore.getInfoLogger().log("PLAYER HAS LEFT TEST");
}
public void playerSelectorActivate(PlayerContainer player, PortalLocation blockLoc, boolean leftClick) {