From ec59dd917390085e0a6a89622ba62527bc65ab11 Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Sat, 10 Dec 2011 13:58:00 -0500 Subject: [PATCH] Fixed issues in our handling of The End as per BUKKIT-11. This also addresses BUKKIT-27. --- src/main/java/net/minecraft/server/EntityPlayer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java index 013dfe9707..93b4b5411f 100644 --- a/src/main/java/net/minecraft/server/EntityPlayer.java +++ b/src/main/java/net/minecraft/server/EntityPlayer.java @@ -323,11 +323,13 @@ public class EntityPlayer extends EntityHuman implements ICrafting { this.netServerHandler.sendPacket(new Packet70Bed(4, 0)); } else { this.a((Statistic) AchievementList.B); + /* //CraftBukkit start - removed to fix our handling of The End portals ChunkCoordinates chunkcoordinates = this.b.getWorldServer(i).d(); if (chunkcoordinates != null) { this.netServerHandler.a((double) chunkcoordinates.x, (double) chunkcoordinates.y, (double) chunkcoordinates.z, 0.0F, 0.0F); } + //CraftBukkit end */ this.b.serverConfigurationManager.changeDimension(this, 1); this.cf = -1;