From 4fbf54965bcfa97815b122ff48584c99317c1b5c Mon Sep 17 00:00:00 2001 From: Ben Carter <110695027+ben-of-codecraft@users.noreply.github.com> Date: Tue, 20 Aug 2024 11:32:45 -0400 Subject: [PATCH] updated getLevel > GetLevel (#20) --- src/mod_moneyforkills.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mod_moneyforkills.cpp b/src/mod_moneyforkills.cpp index de2ae8f..8e79e5c 100644 --- a/src/mod_moneyforkills.cpp +++ b/src/mod_moneyforkills.cpp @@ -129,7 +129,7 @@ public: if (sConfigMgr->GetOption(MFKEnable, true)) { const uint32 PVPMultiplier = sConfigMgr->GetOption(MFKPVPKillMult, 0); - const uint32 VictimLevel = victim->getLevel(); + const uint32 VictimLevel = victim->GetLevel(); // If enabled... if (PVPMultiplier > 0) @@ -175,7 +175,7 @@ public: if (sConfigMgr->GetOption(MFKEnable, true)) { // Get the creature level - const uint32 CreatureLevel = killed->getLevel(); + const uint32 CreatureLevel = killed->GetLevel(); uint32 BossMultiplier = 0; uint32 KillMultiplier = 0; KillType CreatureType; @@ -261,7 +261,7 @@ public: } else { - // Only pay players that are in reward distance + // Only pay players that are in reward distance if (playerInGroup->IsAtGroupRewardDistance(killed)) { // Pay the bounty @@ -386,4 +386,4 @@ public: void AddMoneyForKillsScripts() { new MoneyForKills(); -} \ No newline at end of file +}