Skip to content

Commit

Permalink
Update Wall.php
Browse files Browse the repository at this point in the history
Resolved unreleated formatting change.
  • Loading branch information
0x00032 authored Feb 13, 2025
1 parent d1212c2 commit 0f96de0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/block/Wall.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ protected function recalculateCollisionBoxes() : array{
$east = isset($this->connections[Facing::EAST]);

$inset = 0.25;
if(!$this->post && //if there is a block on top, it stays as a post
if(
!$this->post && //if there is a block on top, it stays as a post
(
($north && $south && !$west && !$east) ||
(!$north && !$south && $west && $east)
Expand Down

0 comments on commit 0f96de0

Please sign in to comment.