Fixing indentation

This commit is contained in:
wizzymore
2019-12-21 05:36:50 +02:00
parent 457e8853d1
commit 5dd3da8e44
3 changed files with 14 additions and 14 deletions

View File

@@ -4,6 +4,6 @@
# CUSTOM
#
DB_CHARACTERS_CUSTOM_PATHS+=(
$MOD_REWARD_SYSTEM_ROOT"/sql/characters/"
)
DB_CHARACTERS_CUSTOM_PATHS+=(
$MOD_REWARD_SYSTEM_ROOT"/sql/characters/"
)

View File

@@ -1,9 +1,9 @@
#!/usr/bin/env bash
MOD_REWARD_SYSTEM_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/" && pwd )"
MOD_REWARD_SYSTEM_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/" && pwd )"
source $MOD_REWARD_SYSTEM_ROOT"/conf/conf.sh.dist"
source $MOD_REWARD_SYSTEM_ROOT"/conf/conf.sh.dist"
if [ -f $MOD_REWARD_SYSTEM_ROOT"/conf/conf.sh" ]; then
source $MOD_REWARD_SYSTEM_ROOT"/conf/conf.sh"
fi
if [ -f $MOD_REWARD_SYSTEM_ROOT"/conf/conf.sh" ]; then
source $MOD_REWARD_SYSTEM_ROOT"/conf/conf.sh"
fi

View File

@@ -20,11 +20,11 @@ public:
int32 roll;
void OnLogin(Player* player) override
{
if (sConfigMgr->GetBoolDefault("RewardSystem.Announce", true)) {
ChatHandler(player->GetSession()).SendSysMessage("This server is running the |cff4CFF00Reward Time Played |rmodule.");
}
}
{
if (sConfigMgr->GetBoolDefault("RewardSystem.Announce", true)) {
ChatHandler(player->GetSession()).SendSysMessage("This server is running the |cff4CFF00Reward Time Played |rmodule.");
}
}
void OnBeforeUpdate(Player* player, uint32 p_time) override
{
@@ -96,4 +96,4 @@ void AddRewardSystemScripts()
{
new reward_system();
new reward_system_conf();
}
}