From 4587d5730d27857cacef48b36b570de801505e4c Mon Sep 17 00:00:00 2001 From: Vasco Lavos Date: Mon, 2 Oct 2023 09:56:18 +0100 Subject: [PATCH] yea --- .../PlaceVariantChangedMessage.java | 30 ------------------- 1 file changed, 30 deletions(-) delete mode 100644 src/main/java/vazkii/quark/base/network/message/experimental/PlaceVariantChangedMessage.java diff --git a/src/main/java/vazkii/quark/base/network/message/experimental/PlaceVariantChangedMessage.java b/src/main/java/vazkii/quark/base/network/message/experimental/PlaceVariantChangedMessage.java deleted file mode 100644 index af19508328..0000000000 --- a/src/main/java/vazkii/quark/base/network/message/experimental/PlaceVariantChangedMessage.java +++ /dev/null @@ -1,30 +0,0 @@ -package vazkii.quark.base.network.message.experimental; - -import java.io.Serial; - -import net.minecraftforge.network.NetworkEvent; -import vazkii.arl.network.IMessage; -import vazkii.quark.content.experimental.module.VariantSelectorModule; - -public class PlaceVariantChangedMessage implements IMessage { - - @Serial - private static final long serialVersionUID = -6123685825175210844L; - - public String variant; - - public PlaceVariantChangedMessage() { } - - public PlaceVariantChangedMessage(String variant) { - this.variant = variant; - } - - @Override - public boolean receive(NetworkEvent.Context context) { - context.enqueueWork(() -> { - VariantSelectorModule.setClientVariant(variant); - }); - return true; - } - -}