Update PickupHandler.java
This commit is contained in:
parent
d35cb4ed72
commit
e79e52cf65
|
|
@ -176,7 +176,7 @@ public class PickupHandler {
|
|||
{
|
||||
EntityReference<LivingEntity> ref = tame.getOwnerReference();
|
||||
if (ref != null) {
|
||||
UUID owner = tame.getOwnerReference().getUUID();
|
||||
UUID owner = ref.getUUID();
|
||||
UUID playerID = player.getGameProfile().id();
|
||||
if (!owner.equals(playerID))
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user