diff --git a/src/main/java/com/aetherteam/aether/block/portal/AetherPortalBlock.java b/src/main/java/com/aetherteam/aether/block/portal/AetherPortalBlock.java index 9354c206ad..8f4128c397 100644 --- a/src/main/java/com/aetherteam/aether/block/portal/AetherPortalBlock.java +++ b/src/main/java/com/aetherteam/aether/block/portal/AetherPortalBlock.java @@ -33,6 +33,8 @@ import net.minecraft.world.level.block.state.properties.EnumProperty; import net.minecraft.world.phys.shapes.CollisionContext; import net.minecraft.world.phys.shapes.VoxelShape; +import net.neoforged.api.distmarker.Dist; +import net.neoforged.api.distmarker.OnlyIn; public class AetherPortalBlock extends Block { public static final EnumProperty AXIS = BlockStateProperties.HORIZONTAL_AXIS; @@ -101,6 +103,7 @@ private void handleTeleportation(Entity entity) { /** * [CODE COPY] - {@link net.minecraft.world.level.block.NetherPortalBlock#animateTick(BlockState, Level, BlockPos, RandomSource)}. */ + @OnlyIn(Dist.CLIENT) @Override public void animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) { if (random.nextInt(100) == 0) {