Browse Source

randomized mine times

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
802d46d66e
  1. 2
      src/engine/objects/Mine.java

2
src/engine/objects/Mine.java

@ -140,6 +140,8 @@ public class Mine extends AbstractGameObject { @@ -140,6 +140,8 @@ public class Mine extends AbstractGameObject {
if(DateTime.now().dayOfWeek().getName().toLowerCase().equals("saturday")){
mine.mineTime += 7;
}
if(mine.mineTime >= 24)
mine.mineTime -= 24;
}
public static void releaseMineClaims(PlayerCharacter playerCharacter) {

Loading…
Cancel
Save