ContainerInventory: remove redundant check

This commit is contained in:
Dylan K. Taylor 2020-02-06 14:19:33 +00:00
parent 3a5709bf5e
commit 70eb41470c

View File

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