Skip to content

Commit

Permalink
Merge pull request Sefiraat#202 from balugaq/master
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
balugaq authored Jan 27, 2025
2 parents f140fe4 + b7dd740 commit 3d0ff16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.ytdd9527.networksexpansion</groupId>
<artifactId>NetworksExpansion</artifactId>
<version>Special-Version-4</version>
<version>Special-Version-5</version>

<distributionManagement>
<repository>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void uniqueTick() {
private void tryAddItem(@Nonnull BlockMenu blockMenu) {
final NodeDefinition definition = NetworkStorage.getNode(blockMenu.getLocation());

if (definition.getNode() == null) {
if (definition == null || definition.getNode() == null) {
sendFeedback(blockMenu.getLocation(), FeedbackType.NO_NETWORK_FOUND);
return;
}
Expand Down

0 comments on commit 3d0ff16

Please sign in to comment.