mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Many fix
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:
parent
ccc51c8fe7
commit
ac60efb7ca
4 changed files with 27 additions and 39 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue