Fixed no-NBT banner items always placing black banners, closes #2624

This commit is contained in:
Dylan K. Taylor 2018-12-31 22:04:08 +00:00
parent 3b183447b0
commit ff3d2ba19e

View File

@ -55,7 +55,7 @@ class Banner extends Item{
* @return int * @return int
*/ */
public function getBaseColor() : int{ public function getBaseColor() : int{
return $this->getNamedTag()->getInt(self::TAG_BASE, 0); return $this->getNamedTag()->getInt(self::TAG_BASE, $this->getDamage());
} }
/** /**