From 2bf2ecc35eda38e1ccc4584c528f9f5fe551bd0d Mon Sep 17 00:00:00 2001 From: Blood-Asp Date: Sun, 13 Dec 2015 17:56:22 +0100 Subject: [PATCH] Sensor kit should not stack --- src/main/java/gregtech/api/items/GT_MetaBase_Item.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/gregtech/api/items/GT_MetaBase_Item.java b/src/main/java/gregtech/api/items/GT_MetaBase_Item.java index 4c0a0171..33b6d7f8 100644 --- a/src/main/java/gregtech/api/items/GT_MetaBase_Item.java +++ b/src/main/java/gregtech/api/items/GT_MetaBase_Item.java @@ -563,6 +563,7 @@ public abstract class GT_MetaBase_Item extends GT_Generic_Item implements ISpeci if (tStats != null && (tStats[3] == -1 || tStats[3] == -2 || tStats[3] == -3) && getRealCharge(aStack) > 0) return 1; tStats = getFluidContainerStats(aStack); if (tStats != null) return (int) (long) tStats[1]; + if(getDamage(aStack)==32763)return 1; return 64; }