mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-11-23 19:05:12 +01:00
Fix recursive passenger
This commit is contained in:
parent
5b4a9348cd
commit
ae0a8d0a79
@ -230,7 +230,7 @@ public class EntityNMSArmorStand extends EntityArmorStand implements NMSArmorSta
|
||||
|
||||
try {
|
||||
VEHICLE_FIELD.set(passenger, this);
|
||||
this.passengers.add(this);
|
||||
this.passengers.add(passengerEntity);
|
||||
} catch (ReflectiveOperationException e) {
|
||||
DebugLogger.cannotSetPassenger(e);
|
||||
}
|
||||
|
@ -230,7 +230,7 @@ public class EntityNMSArmorStand extends EntityArmorStand implements NMSArmorSta
|
||||
|
||||
try {
|
||||
VEHICLE_FIELD.set(passenger, this);
|
||||
this.passengers.add(this);
|
||||
this.passengers.add(passengerEntity);
|
||||
} catch (ReflectiveOperationException e) {
|
||||
DebugLogger.cannotSetPassenger(e);
|
||||
}
|
||||
|
@ -230,7 +230,7 @@ public class EntityNMSArmorStand extends EntityArmorStand implements NMSArmorSta
|
||||
|
||||
try {
|
||||
VEHICLE_FIELD.set(passenger, this);
|
||||
this.passengers.add(this);
|
||||
this.passengers.add(passengerEntity);
|
||||
} catch (ReflectiveOperationException e) {
|
||||
DebugLogger.cannotSetPassenger(e);
|
||||
}
|
||||
|
@ -232,7 +232,7 @@ public class EntityNMSArmorStand extends EntityArmorStand implements NMSArmorSta
|
||||
|
||||
try {
|
||||
VEHICLE_FIELD.set(passenger, this);
|
||||
this.passengers.add(this);
|
||||
this.passengers.add(passengerEntity);
|
||||
} catch (ReflectiveOperationException e) {
|
||||
DebugLogger.cannotSetPassenger(e);
|
||||
}
|
||||
|
@ -232,7 +232,7 @@ public class EntityNMSArmorStand extends EntityArmorStand implements NMSArmorSta
|
||||
|
||||
try {
|
||||
VEHICLE_FIELD.set(passenger, this);
|
||||
this.passengers.add(this);
|
||||
this.passengers.add(passengerEntity);
|
||||
} catch (ReflectiveOperationException e) {
|
||||
DebugLogger.cannotSetPassenger(e);
|
||||
}
|
||||
|
@ -234,7 +234,7 @@ public class EntityNMSArmorStand extends EntityArmorStand implements NMSArmorSta
|
||||
|
||||
try {
|
||||
VEHICLE_FIELD.set(passenger, this);
|
||||
this.passengers.add(this);
|
||||
this.passengers.add(passengerEntity);
|
||||
} catch (ReflectiveOperationException e) {
|
||||
DebugLogger.cannotSetPassenger(e);
|
||||
}
|
||||
|
@ -234,7 +234,7 @@ public class EntityNMSArmorStand extends EntityArmorStand implements NMSArmorSta
|
||||
|
||||
try {
|
||||
VEHICLE_FIELD.set(passenger, this);
|
||||
this.passengers.add(this);
|
||||
this.passengers.add(passengerEntity);
|
||||
} catch (ReflectiveOperationException e) {
|
||||
DebugLogger.cannotSetPassenger(e);
|
||||
}
|
||||
|
@ -234,7 +234,7 @@ public class EntityNMSArmorStand extends EntityArmorStand implements NMSArmorSta
|
||||
|
||||
try {
|
||||
VEHICLE_FIELD.set(passenger, this);
|
||||
this.passengers.add(this);
|
||||
this.passengers.add(passengerEntity);
|
||||
} catch (ReflectiveOperationException e) {
|
||||
DebugLogger.cannotSetPassenger(e);
|
||||
}
|
||||
|
@ -234,7 +234,7 @@ public class EntityNMSArmorStand extends EntityArmorStand implements NMSArmorSta
|
||||
|
||||
try {
|
||||
VEHICLE_FIELD.set(passenger, this);
|
||||
this.passengers.add(this);
|
||||
this.passengers.add(passengerEntity);
|
||||
} catch (ReflectiveOperationException e) {
|
||||
DebugLogger.cannotSetPassenger(e);
|
||||
}
|
||||
|
@ -234,7 +234,7 @@ public class EntityNMSArmorStand extends EntityArmorStand implements NMSArmorSta
|
||||
|
||||
try {
|
||||
VEHICLE_FIELD.set(passenger, this);
|
||||
this.passengers.add(this);
|
||||
this.passengers.add(passengerEntity);
|
||||
} catch (ReflectiveOperationException e) {
|
||||
DebugLogger.cannotSetPassenger(e);
|
||||
}
|
||||
|
@ -231,7 +231,7 @@ public class EntityNMSArmorStand extends EntityArmorStand implements NMSArmorSta
|
||||
|
||||
try {
|
||||
VEHICLE_FIELD.set(passenger, this);
|
||||
this.passengers.add(this);
|
||||
this.passengers.add(passengerEntity);
|
||||
} catch (ReflectiveOperationException e) {
|
||||
DebugLogger.cannotSetPassenger(e);
|
||||
}
|
||||
|
@ -231,7 +231,7 @@ public class EntityNMSArmorStand extends EntityArmorStand implements NMSArmorSta
|
||||
|
||||
try {
|
||||
VEHICLE_FIELD.set(passenger, this);
|
||||
this.passengers.add(this);
|
||||
this.passengers.add(passengerEntity);
|
||||
} catch (ReflectiveOperationException e) {
|
||||
DebugLogger.cannotSetPassenger(e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user