geforkt von Mirrors/Paper
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