3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 20:40:08 +01:00

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

This also addresses BUKKIT-27.
Dieser Commit ist enthalten in:
EvilSeph 2011-12-10 13:58:00 -05:00
Ursprung 84a19565d4
Commit ec59dd9173

Datei anzeigen

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