From c59f3d81bd40f724a0da29ea0e884bf719d9b7d0 Mon Sep 17 00:00:00 2001 From: Gabriel Andreescu Date: Sun, 13 Oct 2019 00:22:36 +0300 Subject: [PATCH] reverted, noob mistake --- .../com/tfar/craftingstation/CraftingStation.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/tfar/craftingstation/CraftingStation.java b/src/main/java/com/tfar/craftingstation/CraftingStation.java index 73cafea..f0b7a45 100644 --- a/src/main/java/com/tfar/craftingstation/CraftingStation.java +++ b/src/main/java/com/tfar/craftingstation/CraftingStation.java @@ -44,13 +44,11 @@ private void setup(final FMLCommonSetupEvent event) { private void enqueueIMC(final InterModEnqueueEvent event) { - DistExecutor.runWhenOn(Dist.CLIENT, () -> () -> { - InterModComms.sendTo("craftingtweaks", "RegisterProvider", () -> { - CompoundNBT tagCompound = new CompoundNBT(); - tagCompound.putString("ContainerClass", CraftingStationContainer.class.getName()); - tagCompound.putString("AlignToGrid", "left"); - return tagCompound; - }); + InterModComms.sendTo("craftingtweaks", "RegisterProvider", () -> { + CompoundNBT tagCompound = new CompoundNBT(); + tagCompound.putString("ContainerClass", CraftingStationContainer.class.getName()); + tagCompound.putString("AlignToGrid", "left"); + return tagCompound; }); }