mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-20 23:46:57 +01:00
Fixed issues in our handling of The End as per BUKKIT-11.
This also addresses BUKKIT-27.
This commit is contained in:
parent
84a19565d4
commit
ec59dd9173
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue