diff --git a/gradle.properties b/gradle.properties index 121ee751..da074921 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false minecraft_version=1.19.2 forge_version=43.2.13 -mod_version=3.19.4 +mod_version=3.19.5 jei_mc_version=1.19.2-forge jei_version=11.6.0.1018 curios_version=1.19.2-5.1.4.3 @@ -13,5 +13,5 @@ crafting_tweaks_cf_file_id=3914007 chipped_cf_file_id=4558849 ctm_cf_file_id=4393695 resourcefullib_cf_file_id=4477753 -sc_version=1.19.2-0.5.106.+ +sc_version=1.19.2-0.5.110.+ parchment_version=1.18.2-2022.06.05-1.19 \ No newline at end of file diff --git a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/backpack/BackpackBlockEntity.java b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/backpack/BackpackBlockEntity.java index 2b2891b7..30ad767a 100644 --- a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/backpack/BackpackBlockEntity.java +++ b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/backpack/BackpackBlockEntity.java @@ -145,7 +145,7 @@ public LazyOptional getCapability(Capability cap, @Nullable Direction if (cap == ForgeCapabilities.ITEM_HANDLER) { if (itemHandlerCap == null) { - itemHandlerCap = LazyOptional.of(() -> new CachedFailedInsertInventoryHandler(getBackpackWrapper().getInventoryForInputOutput(), () -> level != null ? level.getGameTime() : 0)); + itemHandlerCap = LazyOptional.of(() -> new CachedFailedInsertInventoryHandler(() -> getBackpackWrapper().getInventoryForInputOutput(), () -> level != null ? level.getGameTime() : 0)); } return itemHandlerCap.cast(); } else if (cap == ForgeCapabilities.FLUID_HANDLER) { diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index 6c5a26fe..bd077b51 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -60,7 +60,7 @@ side="BOTH" [[dependencies.sophisticatedbackpacks]] modId="sophisticatedcore" #mandatory mandatory=true #mandatory -versionRange="[1.19.2-0.5.106,)" #mandatory +versionRange="[1.19.2-0.5.110,)" #mandatory # An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory ordering="NONE" # Side this dependency is applied on - BOTH, CLIENT or SERVER