mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
commit
fe0782e4fd
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ class BlockAPI{
|
||||||
$coords[$i] = round($coord, 0);
|
$coords[$i] = round($coord, 0);
|
||||||
}
|
}
|
||||||
elseif(is_numeric($args[$i])){
|
elseif(is_numeric($args[$i])){
|
||||||
if($args[$i] > 0 and $args[$i] < 255){
|
if($args[$i] >= 0 and $args[$i] <= ($i === 1 ? 127 : 255)){
|
||||||
$coords[$i] = $args[$i];
|
$coords[$i] = $args[$i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue