Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-19 21:10:10 +01:00
Fixed issues in our handling of The End as per BUKKIT-11.
This also addresses BUKKIT-27.
Dieser Commit ist enthalten in:
Ursprung
84a19565d4
Commit
ec59dd9173
@ -323,11 +323,13 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
|||||||
this.netServerHandler.sendPacket(new Packet70Bed(4, 0));
|
this.netServerHandler.sendPacket(new Packet70Bed(4, 0));
|
||||||
} else {
|
} else {
|
||||||
this.a((Statistic) AchievementList.B);
|
this.a((Statistic) AchievementList.B);
|
||||||
|
/* //CraftBukkit start - removed to fix our handling of The End portals
|
||||||
ChunkCoordinates chunkcoordinates = this.b.getWorldServer(i).d();
|
ChunkCoordinates chunkcoordinates = this.b.getWorldServer(i).d();
|
||||||
|
|
||||||
if (chunkcoordinates != null) {
|
if (chunkcoordinates != null) {
|
||||||
this.netServerHandler.a((double) chunkcoordinates.x, (double) chunkcoordinates.y, (double) chunkcoordinates.z, 0.0F, 0.0F);
|
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.b.serverConfigurationManager.changeDimension(this, 1);
|
||||||
this.cf = -1;
|
this.cf = -1;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren