mirror of
https://github.com/freekode/mod-reward-played-time-improved.git
synced 2026-01-13 00:28:34 +00:00
Fixing indentation
This commit is contained in:
@@ -4,6 +4,6 @@
|
|||||||
# CUSTOM
|
# CUSTOM
|
||||||
#
|
#
|
||||||
|
|
||||||
DB_CHARACTERS_CUSTOM_PATHS+=(
|
DB_CHARACTERS_CUSTOM_PATHS+=(
|
||||||
$MOD_REWARD_SYSTEM_ROOT"/sql/characters/"
|
$MOD_REWARD_SYSTEM_ROOT"/sql/characters/"
|
||||||
)
|
)
|
||||||
10
include.sh
10
include.sh
@@ -1,9 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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
|
if [ -f $MOD_REWARD_SYSTEM_ROOT"/conf/conf.sh" ]; then
|
||||||
source $MOD_REWARD_SYSTEM_ROOT"/conf/conf.sh"
|
source $MOD_REWARD_SYSTEM_ROOT"/conf/conf.sh"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -20,11 +20,11 @@ public:
|
|||||||
int32 roll;
|
int32 roll;
|
||||||
|
|
||||||
void OnLogin(Player* player) override
|
void OnLogin(Player* player) override
|
||||||
{
|
{
|
||||||
if (sConfigMgr->GetBoolDefault("RewardSystem.Announce", true)) {
|
if (sConfigMgr->GetBoolDefault("RewardSystem.Announce", true)) {
|
||||||
ChatHandler(player->GetSession()).SendSysMessage("This server is running the |cff4CFF00Reward Time Played |rmodule.");
|
ChatHandler(player->GetSession()).SendSysMessage("This server is running the |cff4CFF00Reward Time Played |rmodule.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnBeforeUpdate(Player* player, uint32 p_time) override
|
void OnBeforeUpdate(Player* player, uint32 p_time) override
|
||||||
{
|
{
|
||||||
@@ -96,4 +96,4 @@ void AddRewardSystemScripts()
|
|||||||
{
|
{
|
||||||
new reward_system();
|
new reward_system();
|
||||||
new reward_system_conf();
|
new reward_system_conf();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user