From be45b718b32fb80f29e1e9ccba06a515bf3144b1 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Thu, 5 May 2022 00:23:38 +0100 Subject: [PATCH] Correctly mark reify as CLIENT --- .../shared/peripheral/speaker/SpeakerPosition.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/dan200/computercraft/shared/peripheral/speaker/SpeakerPosition.java b/src/main/java/dan200/computercraft/shared/peripheral/speaker/SpeakerPosition.java index 6331e76d3..c67694c35 100644 --- a/src/main/java/dan200/computercraft/shared/peripheral/speaker/SpeakerPosition.java +++ b/src/main/java/dan200/computercraft/shared/peripheral/speaker/SpeakerPosition.java @@ -11,6 +11,8 @@ import net.minecraft.network.PacketBuffer; import net.minecraft.util.ResourceLocation; import net.minecraft.util.math.vector.Vector3d; import net.minecraft.world.World; +import net.minecraftforge.api.distmarker.Dist; +import net.minecraftforge.api.distmarker.OnlyIn; import javax.annotation.Nonnull; import javax.annotation.Nullable; @@ -102,6 +104,7 @@ public final class SpeakerPosition } @Nonnull + @OnlyIn( Dist.CLIENT ) public SpeakerPosition reify() { Minecraft minecraft = Minecraft.getInstance();