diff options
author | EvilSeph <evilseph@unaligned.org> | 2011-06-08 20:08:29 -0400 |
---|---|---|
committer | EvilSeph <evilseph@unaligned.org> | 2011-06-08 20:08:29 -0400 |
commit | 4bdc752acd08c999fb2e8be46519033213b0c690 (patch) | |
tree | c30b3af35381e027ecd085672844ea1220821149 /src/main/java | |
parent | 83209173634426f5f348747770c23d4dd3159d20 (diff) | |
download | craftbukkit-4bdc752acd08c999fb2e8be46519033213b0c690.tar craftbukkit-4bdc752acd08c999fb2e8be46519033213b0c690.tar.gz craftbukkit-4bdc752acd08c999fb2e8be46519033213b0c690.tar.lz craftbukkit-4bdc752acd08c999fb2e8be46519033213b0c690.tar.xz craftbukkit-4bdc752acd08c999fb2e8be46519033213b0c690.zip |
Fixed issues introduced by recent 'portal changes' commit.
Diffstat (limited to 'src/main/java')
3 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/EntityBoat.java b/src/main/java/net/minecraft/server/EntityBoat.java index 178c9270..a7b7e48c 100644 --- a/src/main/java/net/minecraft/server/EntityBoat.java +++ b/src/main/java/net/minecraft/server/EntityBoat.java @@ -383,6 +383,7 @@ public class EntityBoat extends Entity { } if (this.passenger != null && this.passenger.dead) { + this.passenger.vehicle = null; this.passenger = null; } } diff --git a/src/main/java/net/minecraft/server/EntityMinecart.java b/src/main/java/net/minecraft/server/EntityMinecart.java index b38479af..44d75344 100644 --- a/src/main/java/net/minecraft/server/EntityMinecart.java +++ b/src/main/java/net/minecraft/server/EntityMinecart.java @@ -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; } diff --git a/src/main/java/net/minecraft/server/ServerConfigurationManager.java b/src/main/java/net/minecraft/server/ServerConfigurationManager.java index 72edfca4..425736f6 100644 --- a/src/main/java/net/minecraft/server/ServerConfigurationManager.java +++ b/src/main/java/net/minecraft/server/ServerConfigurationManager.java @@ -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()); } |