mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-06-30 20:55:33 +02: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();
|
||||
boolean collided = false;
|
||||
|
||||
if (layout == null) {
|
||||
break;
|
||||
}
|
||||
|
||||
for (int i = 0; i < 3; i++) {
|
||||
if (target != null)
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user