mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Replaced some bad usages of Vector3 get*() with their respective getFloor*()
This commit is contained in:
@ -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());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user