mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-11 05:55:33 +00:00
ContainerInventory: remove redundant check
This commit is contained in:
parent
3a5709bf5e
commit
70eb41470c
@ -50,7 +50,7 @@ abstract class ContainerInventory extends BaseInventory{
|
||||
|
||||
if($holder instanceof Entity){
|
||||
$pk->entityUniqueId = $holder->getId();
|
||||
}elseif($holder instanceof Vector3){
|
||||
}else{
|
||||
$pk->x = $holder->getFloorX();
|
||||
$pk->y = $holder->getFloorY();
|
||||
$pk->z = $holder->getFloorZ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user