From 682b45fd3705e6df5373e04fe4d2477b11343295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ales=CC=8C=20Fabia=CC=81nek?= Date: Fri, 1 Apr 2022 15:01:01 +0200 Subject: [PATCH] Corrected numbers --- .../faboslav/friendsandfoes/world/spawner/IceologerSpawner.java | 2 +- .../friendsandfoes/world/spawner/IllusionerSpawner.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/com/faboslav/friendsandfoes/world/spawner/IceologerSpawner.java b/common/src/main/java/com/faboslav/friendsandfoes/world/spawner/IceologerSpawner.java index 63559c9f4..330ee05d1 100644 --- a/common/src/main/java/com/faboslav/friendsandfoes/world/spawner/IceologerSpawner.java +++ b/common/src/main/java/com/faboslav/friendsandfoes/world/spawner/IceologerSpawner.java @@ -46,7 +46,7 @@ public int spawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals) if ( l < 5L || world.isDay() == false - || random.nextInt(5) != 3 + || random.nextInt(3) != 0 ) { return 0; } diff --git a/common/src/main/java/com/faboslav/friendsandfoes/world/spawner/IllusionerSpawner.java b/common/src/main/java/com/faboslav/friendsandfoes/world/spawner/IllusionerSpawner.java index 73be5d45b..37d70a528 100644 --- a/common/src/main/java/com/faboslav/friendsandfoes/world/spawner/IllusionerSpawner.java +++ b/common/src/main/java/com/faboslav/friendsandfoes/world/spawner/IllusionerSpawner.java @@ -46,7 +46,7 @@ public int spawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals) if ( l < 5L || world.isDay() == false - || random.nextInt(5) != 3 + || random.nextInt(3) != 0 ) { return 0; }