Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-17 20:10:10 +01:00
SPIGOT-3824: Return the direct vehicle of an entity, not the root vehicle
Dieser Commit ist enthalten in:
Ursprung
fd702e4f44
Commit
bacaf9274b
@ -507,7 +507,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
|
||||
return null;
|
||||
}
|
||||
|
||||
return getHandle().getVehicle().getBukkitEntity();
|
||||
return getHandle().bJ().getBukkitEntity(); // PAIL: rename getVehicle() -> getRootVehicle(), bJ() -> getVehicle()
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren