mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38: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(","));
|
Array<String> possibleShops = new Array<>(rotation.split(","));
|
||||||
|
|
||||||
if (possibleShops.size > 0){
|
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);
|
Random rotatingShopRandom = new Random(rotatingRandomSeed);
|
||||||
rotatingShop = possibleShops.get(rotatingShopRandom.nextInt(possibleShops.size));
|
rotatingShop = possibleShops.get(rotatingShopRandom.nextInt(possibleShops.size));
|
||||||
changes.setRotatingShopSeed(id, rotatingRandomSeed);
|
changes.setRotatingShopSeed(id, rotatingRandomSeed);
|
||||||
|
|||||||
Reference in New Issue
Block a user