Fixed players being stuck in SPECTATOR after going through End Portal

Fixes #377

It was due to the SafeSpotTeleport not being flagged as "portal" when issuing the teleportation Nether -> End.
This commit is contained in:
Florian CUNY 2019-02-02 11:45:31 +01:00
parent ade4a141c4
commit 84e89f80cd

View File

@ -128,6 +128,7 @@ public class NetherPortals implements Listener {
new SafeSpotTeleport.Builder(plugin)
.entity(e.getPlayer())
.location(to)
.portal()
.build();
}
}