mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Item: Remove get/set/removeNamedTagEntry()
This commit is contained in:
@ -85,7 +85,7 @@ abstract class Armor extends Durable{
|
||||
* @param Color $color
|
||||
*/
|
||||
public function setCustomColor(Color $color) : void{
|
||||
$this->setNamedTagEntry(new IntTag(self::TAG_CUSTOM_COLOR, Binary::signInt($color->toARGB())));
|
||||
$this->getNamedTag()->setInt(self::TAG_CUSTOM_COLOR, Binary::signInt($color->toARGB()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user