Fixed issues in our handling of The End as per BUKKIT-11.

This also addresses BUKKIT-27.
This commit is contained in:
EvilSeph 2011-12-10 13:58:00 -05:00
parent 84a19565d4
commit ec59dd9173

View File

@ -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;