mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
Fix #446 TFS 1.3 premium time
which was implemented here: https://github.com/otland/forgottenserver/pull/2813 and merged 28th october 2020.
This commit is contained in:
@@ -111,10 +111,9 @@ if (user_logged_in() === true) {
|
||||
|
||||
// If character is offline
|
||||
if ($char_data['online'] == 0) {
|
||||
$acc_data = user_data($user_data['id'], 'premdays');
|
||||
|
||||
// If character is premium
|
||||
if ($config['guild_require_premium'] == false || $acc_data['premdays'] > 0) {
|
||||
if ($config['guild_require_premium'] == false || $user_data['premdays'] > 0) {
|
||||
|
||||
if (get_character_guild_rank($user_id) < 1) {
|
||||
|
||||
|
Reference in New Issue
Block a user