mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
extra.properties cleanup, fixed fire/water/lava collisions
This commit is contained in:
parent
86e32a1620
commit
8f720231fa
9 changed files with 20 additions and 31 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue