extra.properties cleanup, fixed fire/water/lava collisions

This commit is contained in:
GameHerobrine 2023-09-03 08:47:39 +03:00
parent 86e32a1620
commit 8f720231fa
9 changed files with 20 additions and 31 deletions

View file

@ -12,10 +12,8 @@ abstract class RailBaseBlock extends FlowableBlock //TODO move some methods here
if($down->getID() !== AIR and $down instanceof SolidBlock){
$this->level->setBlock($block, $this, true, false, true);
if(RailBlock::$shouldconnectrails){
$logic = new RailLogic($this);
$logic->place(false, true);
}
$logic = new RailLogic($this);
$logic->place(false, true);
return true;
}
return false;

View file

@ -8,8 +8,6 @@ class RailBlock extends RailBaseBlock{
$this->isSolid = false;
}
public static $shouldconnectrails = true;
public function updateState(){
//$logic = (new RailLogic($this));
//if($logic->countPotentialConnections() == 3){