Replaced some bad usages of Vector3 get*() with their respective getFloor*()

This commit is contained in:
Dylan K. Taylor
2018-02-14 18:45:10 +00:00
parent 0b82d5c8d4
commit a84aba5517
5 changed files with 10 additions and 10 deletions

View File

@ -55,7 +55,7 @@ class EnderChestInventory extends ChestInventory{
* @param EnderChest $enderChest
*/
public function setHolderPosition(EnderChest $enderChest){
$this->holder->setComponents($enderChest->getX(), $enderChest->getY(), $enderChest->getZ());
$this->holder->setComponents($enderChest->getFloorX(), $enderChest->getFloorY(), $enderChest->getFloorZ());
$this->holder->setLevel($enderChest->getLevel());
}