Skip to content

Commit

Permalink
no warns
Browse files Browse the repository at this point in the history
  • Loading branch information
SrRapero720 committed May 3, 2024
1 parent bde1c9f commit c1a3a90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import static me.srrapero720.embeddiumplus.EmbeddiumPlus.LOGGER;

@Mixin(EntityType.class)
@SuppressWarnings("deprecation")
public abstract class EntityTypeMixin implements IWhitelistCheck {
@Unique private static final Marker e$IT = MarkerManager.getMarker("EntityType");
@Unique private boolean embPlus$checked = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class FogRendererMixin {
return original.call(vec, fetcher);
}

@WrapOperation(method = "setupColor", at = @At(value = "INVOKE", target = "Lorg/joml/Vector3f;dot(Lorg/joml/Vector3fc;)F"))
@WrapOperation(method = "setupColor", at = @At(value = "INVOKE", target = "Lorg/joml/Vector3f;dot(Lorg/joml/Vector3fc;)F", remap = false))
private static float redirect$dot(Vector3f instance, Vector3fc v, Operation<Float> original) {
if (!EmbyConfig.blueBandCache) return 0;
return original.call(instance, v);
Expand Down

0 comments on commit c1a3a90

Please sign in to comment.