Update SecureModules to address ZipPath bug with brackets. Closes #10755

This commit is contained in:
LexManos committed 2026-01-20 18:53:58 -08:00
1 parent 879a5d3245
commit cc24b60942
2 files changed
+4 -4

No files matched your search

@@ -1,7 +1,7 @@
--- a/net/minecraft/world/level/block/CrafterBlock.java
+++ b/net/minecraft/world/level/block/CrafterBlock.java
@@ -185,12 +_,15 @@
ServerLevel p_336186_, BlockPos p_312358_, CrafterBlockEntity p_309887_, ItemStack p_310474_, BlockState p_310667_, RecipeHolder<?> p_329387_
@@ -201,12 +_,15 @@
RecipeHolder<CraftingRecipe> p_329387_
) {
Direction direction = p_310667_.getValue(ORIENTATION).front();
+ var itemhandler = net.minecraftforge.items.VanillaInventoryCodeHooks.getItemHandler(p_336186_, p_312358_.relative(direction), direction.getOpposite()).orElse(null);
@@ -16,7 +16,7 @@
if (!itemstack1.isEmpty()) {
break;
}
@@ -201,10 +_,14 @@
@@ -217,10 +_,14 @@
while (!itemstack.isEmpty()) {
int i = itemstack.getCount();
itemstack = HopperBlockEntity.addItem(p_309887_, container, itemstack, direction.getOpposite());
+1 -1
View File
@@ -25,7 +25,7 @@ dependencyResolutionManagement {
libs {
library('forgespi', 'net.minecraftforge:forgespi:7.1.5') // Needs modlauncher
library('modlauncher', 'net.minecraftforge:modlauncher:10.2.4') // Needs securemodules
library('securemodules', 'net.minecraftforge:securemodules:2.2.21') // Needs unsafe
library('securemodules', 'net.minecraftforge:securemodules:2.2.24') // Needs unsafe
library('unsafe', 'net.minecraftforge:unsafe:0.9.2')
library('accesstransformers', 'net.minecraftforge:accesstransformers:8.2.2')
library('coremods', 'net.minecraftforge:coremods:5.2.6')