Fixed issues introduced by recent 'portal changes' commit.

This commit is contained in:
EvilSeph 2011-06-08 20:08:29 -04:00
parent 8320917363
commit 4bdc752acd
3 changed files with 4 additions and 0 deletions

View File

@ -383,6 +383,7 @@ public class EntityBoat extends Entity {
}
if (this.passenger != null && this.passenger.dead) {
this.passenger.vehicle = null;
this.passenger = null;
}
}

View File

@ -583,6 +583,7 @@ public class EntityMinecart extends Entity implements IInventory {
}
if (this.passenger != null && this.passenger.dead) {
this.passenger.vehicle = null;
this.passenger = null;
}

View File

@ -231,6 +231,8 @@ public class ServerConfigurationManager {
cserver.getPluginManager().callEvent(respawnEvent);
location = respawnEvent.getRespawnLocation();
entityplayer.health = 20;
entityplayer.fireTicks = 0;
entityplayer.fallDistance = 0;
} else {
location.setWorld(this.server.a(i).getWorld());
}