Skip to content

Commit 67ab5eb

Browse files
committed
仍然是尝试解决mek的依赖问题
1 parent 21c0402 commit 67ab5eb

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ show_testing_output = false
1515

1616
# Mod Information
1717
# HIGHLY RECOMMEND complying with SemVer for mod_version: https://semver.org/
18-
mod_version = 2.7.6-unofficial
18+
mod_version = 2.7.7-unofficial
1919
root_package = com.glodblock.github
2020
mod_id = ae2fc
2121
mod_name = AE2FluidCraft-Rework-Unofficial

src/main/java/com/glodblock/github/coremod/mixin/ae2/container/MixinContainerCellWorkbench.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import com.glodblock.github.util.ModAndClassUtil;
1414
import com.glodblock.github.util.Util;
1515
import mekanism.api.gas.GasStack;
16-
import mekanism.api.gas.IGasItem;
1716
import net.minecraft.entity.player.EntityPlayerMP;
1817
import net.minecraft.entity.player.InventoryPlayer;
1918
import net.minecraft.inventory.Slot;
@@ -72,8 +71,7 @@ public void doAction(final EntityPlayerMP player, final InventoryAction action,
7271
}
7372
return;
7473
}
75-
if (ModAndClassUtil.GAS && slot instanceof SlotFake && !stack.isEmpty()
76-
&& stack.getItem() instanceof IGasItem && Util.getGasFromItem(stack) != null) {
74+
if (ModAndClassUtil.GAS && slot instanceof SlotFake && !stack.isEmpty() && Util.getGasFromItem(stack) != null) {
7775
mek$doAction(player, action, slotId, id, slot, stack);
7876
return;
7977
}

0 commit comments

Comments
 (0)