mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
fix utils::chance()
This commit is contained in:
parent
0e11e4c10e
commit
bdbb548ee6
2 changed files with 3 additions and 3 deletions
|
|
@ -385,7 +385,7 @@ class Utils{
|
|||
}
|
||||
|
||||
public static function chance($i){//GameHerobrine's code
|
||||
return randomFloat() < $i / 100;
|
||||
return self::randomFloat() < $i / 100;
|
||||
}
|
||||
|
||||
public static function round($number){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue