inWeb, fire damage"

This commit is contained in:
GameHerobrine 2024-01-31 04:26:54 +03:00
parent d622c5e5cf
commit 5f1774b8ce
6 changed files with 80 additions and 16 deletions

View file

@ -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){