Skip to content

Commit

Permalink
Fix the null objects (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
spimort authored Nov 6, 2024
1 parent 67b053b commit 82691cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/terrabrush/TerraBrush.cs
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ private async Task CreateSnow() {
}

public void UpdateObjectsHeight(List<ZoneResource> zones) {
for (var i = 0; i < Objects.Length; i++) {
for (var i = 0; i < Objects?.Length; i++) {
var objectsNode = _objectsContainerNode.GetNode<IObjectsNode>($"{i}");
objectsNode.UpdateObjectsHeight(zones);
}
Expand Down
2 changes: 1 addition & 1 deletion addons/terrabrush/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name="TerraBrush"
description=""
author="spimort"
version="0.9.0-alpha"
version="0.9.1-alpha"
script="Plugin.cs"

0 comments on commit 82691cc

Please sign in to comment.