mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 23:10:52 +01:00
Merge branch 'fix-floorplaneditor' into 'dev'
add null check See merge request morningstar/Arcturus-Community!549
This commit is contained in:
commit
098d6a6684
@ -121,7 +121,7 @@ public class FloorPlanEditorSaveEvent extends MessageHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tile.state != RoomTileState.INVALID && height != tile.z && room.getTopItemAt(x, y) != null) {
|
if (tile != null && tile.state != RoomTileState.INVALID && height != tile.z && room.getTopItemAt(x, y) != null) {
|
||||||
errors.add("${notification.floorplan_editor.error.message.change_blocked_by_room_item}");
|
errors.add("${notification.floorplan_editor.error.message.change_blocked_by_room_item}");
|
||||||
break blockingRoomItemScan;
|
break blockingRoomItemScan;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user