fix(WiredEffectMoveFurniTowards): npe

This commit is contained in:
David Silva 2020-05-05 12:57:18 +02:00
parent 97b5ee397a
commit 145c02681f

View File

@ -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;