mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +01:00
Fixed issues introduced by recent 'portal changes' commit.
This commit is contained in:
parent
8320917363
commit
4bdc752acd
3 changed files with 4 additions and 0 deletions
|
@ -383,6 +383,7 @@ public class EntityBoat extends Entity {
|
|||
}
|
||||
|
||||
if (this.passenger != null && this.passenger.dead) {
|
||||
this.passenger.vehicle = null;
|
||||
this.passenger = null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue