3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-19 04:50:06 +01:00

Fixed Vehicle.eject() not ejecting players properly.

Dieser Commit ist enthalten in:
sk89q 2011-01-12 22:39:15 -08:00
Ursprung be6cd7ed9c
Commit e6e50ddf9b

Datei anzeigen

@ -194,7 +194,16 @@ public class EntityPlayerMP extends EntityPlayer implements ICrafting {
} }
public void e(Entity entity) { public void e(Entity entity) {
super.e(entity); // CraftBukkit start
setPassengerOf(entity);
}
public void setPassengerOf(Entity entity) {
// e(null) doesn't really fly for overloaded methods,
// so this method is needed
//CraftBukkit end
super.setPassengerOf(entity);
a.b(((Packet) (new Packet39(((Entity) (this)), k)))); a.b(((Packet) (new Packet39(((Entity) (this)), k))));
a.a(p, q, r, v, w); a.a(p, q, r, v, w);
} }