geforkt von Mirrors/Paper
SPIGOT-4757: Server hangs after teleporting
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
0e0ec84923
Commit
9aaff88148
@ -426,7 +426,7 @@
|
|||||||
+
|
+
|
||||||
+ CraftEntity craft = (CraftEntity) entity.getBukkitEntity().getVehicle();
|
+ CraftEntity craft = (CraftEntity) entity.getBukkitEntity().getVehicle();
|
||||||
+ Entity orig = craft == null ? null : craft.getHandle();
|
+ Entity orig = craft == null ? null : craft.getHandle();
|
||||||
+ if (getBukkitEntity() instanceof Vehicle && entity.getBukkitEntity() instanceof LivingEntity && entity.world.isChunkLoaded((int) entity.locX >> 4, (int) entity.locZ >> 4)) {
|
+ if (getBukkitEntity() instanceof Vehicle && entity.getBukkitEntity() instanceof LivingEntity) {
|
||||||
+ VehicleEnterEvent event = new VehicleEnterEvent(
|
+ VehicleEnterEvent event = new VehicleEnterEvent(
|
||||||
+ (Vehicle) getBukkitEntity(),
|
+ (Vehicle) getBukkitEntity(),
|
||||||
+ entity.getBukkitEntity()
|
+ entity.getBukkitEntity()
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren