mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
inWeb, fire damage"
This commit is contained in:
parent
d622c5e5cf
commit
5f1774b8ce
6 changed files with 80 additions and 16 deletions
|
|
@ -454,11 +454,11 @@ class Level{
|
|||
|
||||
public function isBoundingBoxOnFire(AxisAlignedBB $bb){
|
||||
$minX = floor($bb->minX);
|
||||
$maxX = ceil($bb->maxX);
|
||||
$maxX = floor($bb->maxX + 1);
|
||||
$minY = floor($bb->minY);
|
||||
$maxY = ceil($bb->maxY);
|
||||
$maxY = floor($bb->maxY + 1);
|
||||
$minZ = floor($bb->minZ);
|
||||
$maxZ = ceil($bb->maxZ);
|
||||
$maxZ = floor($bb->maxZ + 1);
|
||||
|
||||
for($x = $minX; $x < $maxX; ++$x){
|
||||
for($y = $minY; $y < $maxY; ++$y){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue