fixed Anvils item/block different logic handling, close #1910

This commit is contained in:
Dylan K. Taylor
2018-02-15 19:33:01 +00:00
parent 88a05845c2
commit ffe89f5e1b
4 changed files with 45 additions and 1 deletions

View File

@ -112,7 +112,7 @@ class Anvil extends Fallable{
public function getDropsForCompatibleTool(Item $item) : array{
return [
ItemFactory::get($this->getItemId(), $this->getDamage() & 0x0c)
ItemFactory::get($this->getItemId(), $this->getDamage() >> 2)
];
}
}