mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-12-21 00:07:48 +01:00
Fix stack overflow error
This commit is contained in:
parent
b594f79a2b
commit
b8dde1ab3e
@ -230,7 +230,7 @@ public class EntityNMSArmorStand extends EntityArmorStand implements NMSArmorSta
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
VEHICLE_FIELD.set(passenger, this);
|
VEHICLE_FIELD.set(passenger, this);
|
||||||
((Entity) this).at /* passengers */ = ImmutableList.of(this);
|
((Entity) this).at /* passengers */ = ImmutableList.of(passengerEntity);
|
||||||
} catch (ReflectiveOperationException e) {
|
} catch (ReflectiveOperationException e) {
|
||||||
DebugLogger.cannotSetPassenger(e);
|
DebugLogger.cannotSetPassenger(e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user