fix: restore compat with inventory sorter, ignore crafter container
Fixes #3214
This commit is contained in:
@@ -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"));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user