Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9de1f3fc5b |
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ public class ModAutoRepair extends Modifier
|
|||
if (player.dimension == -1)
|
||||
return 10000 + rand;
|
||||
if (world.canSeeSky(player.getPosition()) && !world.isRaining())
|
||||
if (world.getWorldTime() >= 0 && world.getWorldTime() <= 13000)
|
||||
if ((world.getWorldTime() % 24000) >= 0 && (world.getWorldTime() % 24000) <= 13000)
|
||||
return 12500 + rand;
|
||||
|
||||
return 15000 + rand;
|
||||
|
|
|
|||
Loading…
Reference in a new issue