diff --git a/NebulaModel/Packets/Combat/CombatStatFullHptPacket.cs b/NebulaModel/Packets/Combat/CombatStatFullHpPacket.cs similarity index 63% rename from NebulaModel/Packets/Combat/CombatStatFullHptPacket.cs rename to NebulaModel/Packets/Combat/CombatStatFullHpPacket.cs index 7fcb812bd..d884dd4ba 100644 --- a/NebulaModel/Packets/Combat/CombatStatFullHptPacket.cs +++ b/NebulaModel/Packets/Combat/CombatStatFullHpPacket.cs @@ -1,10 +1,10 @@ namespace NebulaModel.Packets.Combat; -public class CombatStatFullHptPacket +public class CombatStatFullHpPacket { - public CombatStatFullHptPacket() { } + public CombatStatFullHpPacket() { } - public CombatStatFullHptPacket(int originAstroId, int objectType, int objectId) + public CombatStatFullHpPacket(int originAstroId, int objectType, int objectId) { OriginAstroId = originAstroId; ObjectType = objectType; diff --git a/NebulaNetwork/PacketProcessors/Combat/CombatStatFullHpProcessor.cs b/NebulaNetwork/PacketProcessors/Combat/CombatStatFullHpProcessor.cs index 97ceed0e8..28482eda0 100644 --- a/NebulaNetwork/PacketProcessors/Combat/CombatStatFullHpProcessor.cs +++ b/NebulaNetwork/PacketProcessors/Combat/CombatStatFullHpProcessor.cs @@ -11,9 +11,9 @@ namespace NebulaNetwork.PacketProcessors.Combat; [RegisterPacketProcessor] -public class CombatStatFullHpProcessor : PacketProcessor +public class CombatStatFullHpProcessor : PacketProcessor { - protected override void ProcessPacket(CombatStatFullHptPacket packet, NebulaConnection conn) + protected override void ProcessPacket(CombatStatFullHpPacket packet, NebulaConnection conn) { var combatStatId = 0; var starId = 0; diff --git a/NebulaPatcher/Patches/Dynamic/CombatStat_Patch.cs b/NebulaPatcher/Patches/Dynamic/CombatStat_Patch.cs index 6803c8f8e..cc22937a5 100644 --- a/NebulaPatcher/Patches/Dynamic/CombatStat_Patch.cs +++ b/NebulaPatcher/Patches/Dynamic/CombatStat_Patch.cs @@ -38,7 +38,7 @@ public static void HandleFullHp_Prefix(ref CombatStat __instance) // objectType 0:entity if (__instance.objectType == 0 && __instance.originAstroId > 100 && __instance.originAstroId <= 204899 && __instance.originAstroId % 100 > 0) { - var packet = new CombatStatFullHptPacket(__instance.originAstroId, __instance.objectType, __instance.objectId); + var packet = new CombatStatFullHpPacket(__instance.originAstroId, __instance.objectType, __instance.objectId); if (Multiplayer.Session.IsServer) { var starId = __instance.originAstroId / 100;