Added rare drop from reactor
Tall grass now drop only wheat seeds
Fix utils::chance()
Zombie now can drop carrot or potato
This commit is contained in:
ArkQuark 2022-06-02 23:56:38 +03:00
parent ccc51c8fe7
commit ac60efb7ca
4 changed files with 27 additions and 39 deletions

View file

@ -385,7 +385,7 @@ class Utils{
}
public static function chance($i){//GameHerobrine's code
return self::randomFloat() < $i / 100;
return self::randomFloat() <= $i / 100;
}
public static function round($number){