From 84e89f80cda3ff21e5bc3381449aa1032fdd11f6 Mon Sep 17 00:00:00 2001 From: Florian CUNY Date: Sat, 2 Feb 2019 11:45:31 +0100 Subject: [PATCH] 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. --- .../java/world/bentobox/bentobox/listeners/NetherPortals.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/world/bentobox/bentobox/listeners/NetherPortals.java b/src/main/java/world/bentobox/bentobox/listeners/NetherPortals.java index 74889ee6f..eeeccf96f 100644 --- a/src/main/java/world/bentobox/bentobox/listeners/NetherPortals.java +++ b/src/main/java/world/bentobox/bentobox/listeners/NetherPortals.java @@ -128,6 +128,7 @@ public class NetherPortals implements Listener { new SafeSpotTeleport.Builder(plugin) .entity(e.getPlayer()) .location(to) + .portal() .build(); } }