mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
isPickaxe replaced with getPickaxeLevel, reactor drops correct block now
This commit is contained in:
parent
81d46e71aa
commit
df0db01425
38 changed files with 73 additions and 60 deletions
|
|
@ -34,7 +34,7 @@ class RailBlock extends FlowableBlock{
|
|||
}
|
||||
|
||||
private function checkRail($rail){//fixed
|
||||
if(!($rail instanceof Rail)) return null;
|
||||
if(!($rail instanceof RailBlock)) return null;
|
||||
$damage = $rail->meta;
|
||||
if ($damage < 0 || $damage > 10) return null;
|
||||
$delta = array(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue