Rename two misleadingly-named functions

This commit is contained in:
Dylan K. Taylor
2019-02-27 12:59:12 +00:00
parent ba616ed8a7
commit 9ad0ea85c7
20 changed files with 34 additions and 30 deletions

View File

@ -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;