mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Rename two misleadingly-named functions
This commit is contained in:
@ -154,7 +154,7 @@ abstract class Projectile extends Entity{
|
||||
|
||||
//we intentionally use different ones to PC because we don't have stringy IDs
|
||||
$nbt->setInt("blockId", $this->blockHit->getId());
|
||||
$nbt->setByte("blockData", $this->blockHit->getDamage());
|
||||
$nbt->setByte("blockData", $this->blockHit->getMeta());
|
||||
}
|
||||
|
||||
return $nbt;
|
||||
|
Reference in New Issue
Block a user