mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 14:38:56 +00:00
admin commands for raid time
This commit is contained in:
1 parent
e86af9b3c7
commit
a59d59e962
2 files changed
+94
-61
No files matched your search
@@ -184,7 +184,13 @@ public class Raid {
|
||||
|
||||
//set the last raided time to now
|
||||
raidedTown.addMetaData(new LongDataField("lastRaided", (System.currentTimeMillis() / 1000)));
|
||||
war.setLastRaidTime((System.currentTimeMillis() / 1000));
|
||||
if(war.getSide1Players().contains(owner.getName())) {
|
||||
war.setLastRaidTimeSide1((System.currentTimeMillis() / 1000));
|
||||
} else if(war.getSide2Players().contains(owner.getName())) {
|
||||
war.setLastRaidTimeSide2((System.currentTimeMillis() / 1000));
|
||||
} else {
|
||||
|
||||
}
|
||||
|
||||
// Creates 10 second looping function for Raid
|
||||
|
||||
|
||||
Reference in new issue
Block a user