From 567e245ffff84df69e77dd331209963cd0a8628b Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 5 Jul 2020 10:32:31 +1000 Subject: [PATCH] Fix end portals in custom ends --- nms-patches/EntityPlayer.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/EntityPlayer.patch b/nms-patches/EntityPlayer.patch index 278477b7c1..fa95b726cc 100644 --- a/nms-patches/EntityPlayer.patch +++ b/nms-patches/EntityPlayer.patch @@ -371,7 +371,7 @@ + ResourceKey resourcekey = worldserver1.getTypeKey(); // CraftBukkit - if (resourcekey == World.THE_END && worldserver.getDimensionKey() == World.OVERWORLD) { -+ if (resourcekey == DimensionManager.THE_END && worldserver.getTypeKey() == DimensionManager.OVERWORLD) { // CraftBukkit ++ if (resourcekey == DimensionManager.THE_END && worldserver != null && worldserver.getTypeKey() == DimensionManager.OVERWORLD) { // CraftBukkit + this.worldChangeInvuln = true; // CraftBukkit - Moved down from above this.decouple(); this.getWorldServer().removePlayer(this);