diff --git a/src/main/java/com/acethewildfire/acesbs/mixin/PlayerEntityMixin.java b/src/main/java/com/acethewildfire/acesbs/mixin/PlayerEntityMixin.java index ecd5dc2..7fde898 100644 --- a/src/main/java/com/acethewildfire/acesbs/mixin/PlayerEntityMixin.java +++ b/src/main/java/com/acethewildfire/acesbs/mixin/PlayerEntityMixin.java @@ -30,7 +30,7 @@ public abstract class PlayerEntityMixin{ @Inject(method = "damage", at = @At(value = "TAIL"), locals = LocalCapture.CAPTURE_FAILSOFT, cancellable = true) private void damageMixin(DamageSource source, float amount, CallbackInfoReturnable cir) { Item chestplate = this.inventory.getArmorStack(2).getItem(); - if (chestplate == ModItems.BERSERKERS_PAULDRON && !Objects.equals(this.getName().getLiteralString(), "Tennocraft12")){ + if (chestplate == ModItems.BERSERKERS_PAULDRON && Objects.equals(this.getName().getLiteralString(), "Tennocraft12")){ PlayerEntity player = (PlayerEntity) (Object) this; World world = player.getWorld(); if (!world.isClient()) {