mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Removing date-altering debug code
This commit is contained in:
@@ -549,7 +549,7 @@ public class MapStage extends GameStage {
|
||||
Array<String> possibleShops = new Array<>(rotation.split(","));
|
||||
|
||||
if (possibleShops.size > 0){
|
||||
long rotatingRandomSeed = WorldSave.getCurrentSave().getWorld().getRandom().nextLong() + java.time.LocalDate.now().plusDays(5).toEpochDay();
|
||||
long rotatingRandomSeed = WorldSave.getCurrentSave().getWorld().getRandom().nextLong() + java.time.LocalDate.now().toEpochDay();
|
||||
Random rotatingShopRandom = new Random(rotatingRandomSeed);
|
||||
rotatingShop = possibleShops.get(rotatingShopRandom.nextInt(possibleShops.size));
|
||||
changes.setRotatingShopSeed(id, rotatingRandomSeed);
|
||||
|
||||
Reference in New Issue
Block a user