diff --git a/CHANGELOG.md b/CHANGELOG.md index b857f0a..e09ac6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +[ 1.2.4+1.21.1 ] +- Fixed voiding disallowed items when shift-clicking. + [ 1.2.3+1.21.1 ] - Fixed pickup sounds playing when they shouldn't. diff --git a/build.gradle b/build.gradle index 2c391fc..ae129cd 100644 --- a/build.gradle +++ b/build.gradle @@ -79,6 +79,9 @@ dependencies { // runtimeOnly fg.deobf("curse.maven:TITANIUM-287342:3819942") //runtimeOnly fg.deobf("curse.maven:BUILDINGGADGETS-298187:3553977") runtimeOnly "curse.maven:MG-351748:5615761" + runtimeOnly "curse.maven:EMI-580555:5619579" + runtimeOnly "curse.maven:FAST-288885:5670423" + runtimeOnly "curse.maven:PLACE-283644:5626449" } jar { diff --git a/gradle.properties b/gradle.properties index 65ba3d1..f924281 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,8 +1,8 @@ org.gradle.jvmargs=-Xmx6G org.gradle.daemon=false -mod_version=1.2.3 +mod_version=1.2.4 minecraft_version=1.21.1 -neo_version=21.1.8 +neo_version=21.1.27 neogradle.subsystems.parchment.minecraftVersion=1.21 neogradle.subsystems.parchment.mappingsVersion=2024.06.23 jei_version=19.4.0.28 diff --git a/src/main/java/com/flanks255/pocketstorage/inventory/PSUItemHandler.java b/src/main/java/com/flanks255/pocketstorage/inventory/PSUItemHandler.java index 1c41dc9..a8a7313 100644 --- a/src/main/java/com/flanks255/pocketstorage/inventory/PSUItemHandler.java +++ b/src/main/java/com/flanks255/pocketstorage/inventory/PSUItemHandler.java @@ -89,7 +89,7 @@ public List getMatchingSlots(@Nonnull ItemStack stack) { // Returns the remainder of the stack if it could not be fully inserted. public ItemStack insertItemSlotless(@Nonnull ItemStack stack, boolean allowEmpty, boolean allowVoid) { if (stack.isEmpty() || !isItemValid(0, stack)) - return ItemStack.EMPTY; + return stack; boolean foundAny = false; int count = stack.getCount();