Added Block->getVariantBitmask(0 to cut down on getDrops() boilerplate, fixed several blocks incorrectly retaining meta when broken

This commit is contained in:
Dylan K. Taylor
2017-08-18 19:49:28 +01:00
parent 384a4b3a09
commit 41c6cb6f97
41 changed files with 145 additions and 96 deletions

View File

@ -80,9 +80,7 @@ class WaterLily extends Flowable{
return false;
}
public function getDrops(Item $item) : array{
return [
Item::get($this->getItemId(), 0, 1)
];
public function getVariantBitmask() : int{
return 0;
}
}