mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-28 21:45:18 +01:00
Testing data
This commit is contained in:
parent
e1ba140194
commit
a3625af88f
@ -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";
|
||||
|
@ -12,8 +12,10 @@ import com.sekwah.advancedportals.coreconnector.container.WorldContainer;
|
||||
|
||||
public class CoreListeners {
|
||||
|
||||
@Inject
|
||||
private PortalTempDataServices portalTempDataServices;
|
||||
|
||||
@Inject
|
||||
private PortalServices portalServices;
|
||||
|
||||
@Inject
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user