mini reformat

This commit is contained in:
2026-04-29 21:24:08 +02:00
parent a1cc627246
commit b9fc65dab2
2 changed files with 29 additions and 31 deletions
+2 -4
View File
@@ -5,8 +5,6 @@ using Terraria.ModLoader;
namespace YHTMod.Changes;
public class WarriorItemEffects : GlobalItem {
public override bool InstancePerEntity => true;
public override void UseItemHitbox(Item item, Player player, ref Rectangle hitbox, ref bool noHitbox) {
YhtPlayer modPlayer = player.GetModPlayer<YhtPlayer>();
@@ -29,10 +27,10 @@ public class WarriorItemEffects : GlobalItem {
hitbox.Height = newH;
}
}
base.UseItemHitbox(item, player, ref hitbox, ref noHitbox);
}
public override void HoldItem(Item item, Player player) {
YhtPlayer modPlayer = player.GetModPlayer<YhtPlayer>();