Prevent placement of unknown blocks, closes #2260

I don't know why I ever allowed this in the first place... stupid idea...
This commit is contained in:
Dylan K. Taylor 2018-12-28 13:03:34 +00:00
parent 6417cff618
commit 0ea166a551

View File

@ -31,6 +31,10 @@ class UnknownBlock extends Transparent{
return 0;
}
public function canBePlaced() : bool{
return false;
}
public function getDrops(Item $item) : array{
return [];
}