mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 01:16:15 +00:00
Improved trees, improved inventory transactions, improved snowball/bow usage
This commit is contained in:
@ -110,4 +110,8 @@ class Random{
|
||||
return $start + ($this->nextInt() % ($end + 1 - $start));
|
||||
}
|
||||
|
||||
public function nextBoundedInt($bound){
|
||||
return $this->nextInt() % $bound;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user