diff --git a/README.md b/README.md index a156f2a..eccce23 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ #### Features: - Changes player size on initial creation, then changes their size as they level up through the first 15 levels to full size. Created for Azerothcore +# ![screenshot](grownup.png) + ### This module currently requires: - AzerothCore vX.X.X+ diff --git a/grownup.png b/grownup.png new file mode 100644 index 0000000..c805bc9 Binary files /dev/null and b/grownup.png differ diff --git a/src/GrownUp.cpp b/src/GrownUp.cpp index bb0c663..cad46cf 100644 --- a/src/GrownUp.cpp +++ b/src/GrownUp.cpp @@ -24,7 +24,7 @@ public: ChatHandler(player->GetSession()).SendSysMessage("This server is running the |cff4CFF00Grown Up |rmodule."); if (sConfigMgr->GetOption("GrownUp.Enable", true) && sConfigMgr->GetOption("GrownUp.LoginCheck", true)) { - uint8 level = player->getLevel(); + uint8 level = player->GetLevel(); float newScale = 1.0f; if (level < 5) @@ -53,7 +53,7 @@ public: { if (sConfigMgr->GetOption("GrownUp.Enable", true)) { - uint8 newLevel = player->getLevel(); + uint8 newLevel = player->GetLevel(); float newScale = 1.0f; // default full size if (newLevel < 5)