Skip to content

Commit

Permalink
forgot spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
Uraneptus committed Sep 18, 2024
1 parent 6ca95fc commit 00fcca6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Xplat/src/main/java/vazkii/neat/HealthBarRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import net.minecraft.world.entity.Entity;
import net.minecraft.world.entity.EntityType;
import net.minecraft.world.entity.LivingEntity;
import net.minecraft.world.entity.monster.Monster;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.item.ItemDisplayContext;
import net.minecraft.world.item.ItemStack;
Expand Down Expand Up @@ -150,7 +149,7 @@ private static boolean shouldShowPlate(LivingEntity living, Entity cameraEntity)
float distance = living.distanceTo(cameraEntity);
if (distance > NeatConfig.instance.maxDistance()
|| (distance > NeatConfig.instance.maxDistanceWithoutLineOfSight()
&& !living.hasLineOfSight(cameraEntity))) {
&& !living.hasLineOfSight(cameraEntity))) {
return false;
}
if (!NeatConfig.instance.showOnBosses() && isBoss(living)) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
package vazkii.neat.mixin;

import com.mojang.blaze3d.vertex.PoseStack;

import net.minecraft.client.renderer.MultiBufferSource;
import net.minecraft.client.renderer.entity.EntityRenderer;
import net.minecraft.world.entity.Entity;

import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

import vazkii.neat.NeatConfig;

@Mixin(EntityRenderer.class)
Expand Down

0 comments on commit 00fcca6

Please sign in to comment.