mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 14:38:56 +00:00
Merge branch 'main' into feature/admin-command
This commit is contained in:
4 files changed
+2
-5
No files matched your search
@@ -248,6 +248,7 @@ public class RaidData {
|
||||
return -1;
|
||||
}
|
||||
|
||||
long lastRaidTime = war.getLastRaidTime();
|
||||
//6 hour raid cooldown for war
|
||||
if ((System.currentTimeMillis() / 1000) - (side.equals(war.getSide1()) ? war.getLastRaidTimeSide1() : war.getLastRaidTimeSide2()) <= 21600) {
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user