mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Updated method names: getMetadata() & setMetadata() to getDamage() & setDamage() on Block and Item classes
This commit is contained in:
@ -33,7 +33,7 @@ class Torch extends Flowable{
|
||||
|
||||
public function onUpdate($type){
|
||||
if($type === Level::BLOCK_UPDATE_NORMAL){
|
||||
$side = $this->getMetadata();
|
||||
$side = $this->getDamage();
|
||||
$faces = array(
|
||||
1 => 4,
|
||||
2 => 5,
|
||||
|
Reference in New Issue
Block a user