mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 04:15:04 +00:00
@@ -33,7 +33,7 @@ class Block extends Item{
|
||||
}
|
||||
|
||||
public function setDamage($meta){
|
||||
$this->meta = $meta !== null ? $meta & 0xFF : null;
|
||||
$this->meta = $meta !== null ? $meta & 0xf : null;
|
||||
$this->block->setDamage($this->meta);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user