Forgot to remove debug and commented-out code

This commit is contained in:
Florian CUNY 2019-02-17 14:46:26 +01:00
parent 028785c4b0
commit dfc1f46730

View File

@ -59,12 +59,9 @@ public class PortalTeleportationListener implements Listener {
// STANDARD END
if (!plugin.getIWM().isEndIslands(fromWorld)) {
System.out.println("standard end");
if (fromWorld.getEnvironment() != Environment.THE_END) {
System.out.println("teleporting!");
// To Standard end
e.setTo(plugin.getIWM().getEndWorld(fromWorld).getSpawnLocation());
//e.useTravelAgent(true);
}
// From standard end
else {