mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
fix(WiredEffectMoveFurniTowards): npe
This commit is contained in:
parent
97b5ee397a
commit
145c02681f
@ -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