Fixed issues introduced by recent 'portal changes' commit.
Dieser Commit ist enthalten in:
Ursprung
8320917363
Commit
4bdc752acd
@ -383,6 +383,7 @@ public class EntityBoat extends Entity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.passenger != null && this.passenger.dead) {
|
if (this.passenger != null && this.passenger.dead) {
|
||||||
|
this.passenger.vehicle = null;
|
||||||
this.passenger = null;
|
this.passenger = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -583,6 +583,7 @@ public class EntityMinecart extends Entity implements IInventory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.passenger != null && this.passenger.dead) {
|
if (this.passenger != null && this.passenger.dead) {
|
||||||
|
this.passenger.vehicle = null;
|
||||||
this.passenger = null;
|
this.passenger = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -231,6 +231,8 @@ public class ServerConfigurationManager {
|
|||||||
cserver.getPluginManager().callEvent(respawnEvent);
|
cserver.getPluginManager().callEvent(respawnEvent);
|
||||||
location = respawnEvent.getRespawnLocation();
|
location = respawnEvent.getRespawnLocation();
|
||||||
entityplayer.health = 20;
|
entityplayer.health = 20;
|
||||||
|
entityplayer.fireTicks = 0;
|
||||||
|
entityplayer.fallDistance = 0;
|
||||||
} else {
|
} else {
|
||||||
location.setWorld(this.server.a(i).getWorld());
|
location.setWorld(this.server.a(i).getWorld());
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren