mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 08:50:51 +01:00
Merge branch '595-npe' into 'dev'
fix(WiredEffectMoveFurniTowards): npe See merge request morningstar/Arcturus-Community!141
This commit is contained in:
commit
980cf66815
@ -107,6 +107,10 @@ public class WiredEffectMoveFurniTowards extends InteractionWiredEffect {
|
|||||||
RoomLayout layout = room.getLayout();
|
RoomLayout layout = room.getLayout();
|
||||||
boolean collided = false;
|
boolean collided = false;
|
||||||
|
|
||||||
|
if (layout == null) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
for (int i = 0; i < 3; i++) {
|
for (int i = 0; i < 3; i++) {
|
||||||
if (target != null)
|
if (target != null)
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user