mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-12 08:17:48 +00:00
Merge pull request #8 from Skiftcha/chisel-gui-scroll-fix
fix serverside issue with nei blacklist gui
This commit is contained in:
1 file changed
+2
-1
@@ -6,6 +6,7 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import codechicken.nei.api.GuiInfo;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import team.chisel.carving.Carving;
|
||||
@@ -88,7 +89,7 @@ public class Compatibility {
|
||||
if (Loader.isModLoaded("EE3")) {
|
||||
loadEE3Values();
|
||||
}
|
||||
if (Loader.isModLoaded("NotEnoughItems")) {
|
||||
if (Loader.isModLoaded("NotEnoughItems") && event.getSide() == Side.CLIENT) {
|
||||
// disable chiseling by scrolling over itemstack
|
||||
GuiInfo.customSlotGuis.add(GuiChisel.class);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user