mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-28 12:05:21 +09:00
General Addidions to help fix a known desync
This commit is contained in:
@@ -44,7 +44,7 @@ Event.register(-1,function(event)
|
||||
if not data.high_rank or not data.low_rank
|
||||
or not data.low then self.reopen = false return end
|
||||
-- idk but this stoped working for no appent reason so i added more checks for nil values
|
||||
if Ranking.get_rank(player) and Ranking.get_rank(player).power <= Ranking.get_rank(data.low_rank).power then return end
|
||||
if Ranking.get_rank(player).power <= Ranking.get_rank(data.low_rank).power then return end
|
||||
for _,message in pairs(data.low) do
|
||||
player_return({'chat-bot.message',message},nil,player)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user