Add Dice.php patch
This commit is contained in:
10
mods/patches/level-2-dice-dice-php.patch
Normal file
10
mods/patches/level-2-dice-dice-php.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- /dev/null
|
||||
+++ ../Dice.php
|
||||
@@ -257,6 +257,7 @@
|
||||
for ($i = 0; $i < count($args); $i++) {
|
||||
if (call_user_func('is_' . $param->getType()->getName(), $args[$i])) {
|
||||
$parameters[] = array_splice($args, $i, 1)[0];
|
||||
+ break;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user