Skip to content

Commit

Permalink
Fixed cascading loading issues, closes #243
Browse files Browse the repository at this point in the history
  • Loading branch information
Buuz135 committed Dec 29, 2023
1 parent 019c240 commit 5aa45d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# VERSION 1.2.7
* Fixed cascading loading issues, closes #243

# VERSION 1.2.6
* Renamed Controller Extension to Controller Access Point
* Added a way to increase the Controller range by using upgrades
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildscript {
apply plugin: 'net.minecraftforge.gradle'

group = 'com.buuz135'
version = '1.20.1-1.2.6'
version = '1.20.1-1.2.7'

java {
archivesBaseName = 'functionalstorage'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public <U> LazyOptional<U> getCapability(@Nonnull Capability<U> cap, @Nullable D

private Optional<StorageControllerTile> getControllerInstance() {
if (getControllerPos() == null) return Optional.empty();
if (level == null || !level.isLoaded(getControllerPos())) return Optional.empty();
return TileUtil.getTileEntity(this.level, getControllerPos(), StorageControllerTile.class);
}

Expand Down

0 comments on commit 5aa45d8

Please sign in to comment.