1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-14 20:20:30 +00:00

Correctly mark reify as CLIENT

This commit is contained in:
Jonathan Coates 2022-05-05 00:23:38 +01:00
parent ad2d1d6a05
commit be45b718b3
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

View File

@ -11,6 +11,8 @@ import net.minecraft.network.PacketBuffer;
import net.minecraft.util.ResourceLocation; import net.minecraft.util.ResourceLocation;
import net.minecraft.util.math.vector.Vector3d; import net.minecraft.util.math.vector.Vector3d;
import net.minecraft.world.World; import net.minecraft.world.World;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
import javax.annotation.Nonnull; import javax.annotation.Nonnull;
import javax.annotation.Nullable; import javax.annotation.Nullable;
@ -102,6 +104,7 @@ public final class SpeakerPosition
} }
@Nonnull @Nonnull
@OnlyIn( Dist.CLIENT )
public SpeakerPosition reify() public SpeakerPosition reify()
{ {
Minecraft minecraft = Minecraft.getInstance(); Minecraft minecraft = Minecraft.getInstance();