Merge branch '595-npe' into 'dev'

fix(WiredEffectMoveFurniTowards): npe

See merge request morningstar/Arcturus-Community!141
This commit is contained in:
Harmonic 2020-05-08 05:21:49 -04:00
commit 980cf66815

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;