Archiviert
13
0

Fixed getting stuck in the ground when respawning to a bed under certain circumstances

Dieser Commit ist enthalten in:
EvilSeph 2011-06-10 03:50:04 -04:00
Ursprung ad95bf4095
Commit 6607b6785d

Datei anzeigen

@ -220,7 +220,7 @@ public class ServerConfigurationManager {
if(cw != null && chunkcoordinates != null) { if(cw != null && chunkcoordinates != null) {
ChunkCoordinates chunkcoordinates1 = EntityHuman.getBed(cw.getHandle(), chunkcoordinates); ChunkCoordinates chunkcoordinates1 = EntityHuman.getBed(cw.getHandle(), chunkcoordinates);
if (chunkcoordinates1 != null) { if (chunkcoordinates1 != null) {
location = new Location(cw, chunkcoordinates1.x + 0.5, chunkcoordinates1.y + 0.1, chunkcoordinates1.z + 0.5); location = new Location(cw, chunkcoordinates1.x + 0.5, chunkcoordinates1.y, chunkcoordinates1.z + 0.5);
} else { } else {
entityplayer1.netServerHandler.sendPacket(new Packet70Bed(0)); entityplayer1.netServerHandler.sendPacket(new Packet70Bed(0));
} }