fix: restore compat with inventory sorter, ignore crafter container

Fixes #3214
This commit is contained in:
raoulvdberge
2023-11-05 20:08:58 +01:00
parent 01bd81fcf6
commit 0786cd823e

View File

@@ -1,6 +1,9 @@
package com.refinedmods.refinedstorage.integration.inventorysorter;
import com.refinedmods.refinedstorage.RS;
import net.minecraft.resources.ResourceLocation;
import net.minecraftforge.fml.ModList;
import net.minecraftforge.fml.InterModComms;
public class InventorySorterIntegration {
private static final String ID = "inventorysorter";
@@ -14,6 +17,7 @@ public class InventorySorterIntegration {
public static void register() {
// Prevent items moving while scrolling through slots with Inventory Sorter in the Crafter Manager
// InterModComms.sendTo("inventorysorter", "slotblacklist", () -> "com.refinedmods.refinedstorage.container.slot.CrafterManagerSlot");
InterModComms.sendTo("inventorysorter", "slotblacklist", () -> "com.refinedmods.refinedstorage.container.slot.CrafterManagerSlot");
InterModComms.sendTo("inventorysorter", "containerblacklist", () -> new ResourceLocation(RS.ID, "crafter"));
}
}