asie is a twat

This commit is contained in:
Ellpeck 2017-02-07 18:46:37 +01:00
parent 2b630a7ad6
commit 8594854685

View file

@ -31,9 +31,8 @@ public final class IMCHandler{
}; };
public static void doBlockIMC(Block block){ public static void doBlockIMC(Block block){
if(!ArrayUtils.contains(NO_CARRYING, block.getClass())){ boolean allow = !ArrayUtils.contains(NO_CARRYING, block.getClass());
FMLInterModComms.sendMessage("charsetlib", "addCarry", block.getRegistryName()); FMLInterModComms.sendMessage("charsetlib", (allow ? "add" : "remove")+"Carry", block.getRegistryName());
}
} }
public static void doItemIMC(Item item){ public static void doItemIMC(Item item){