mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
More NBT updates
This library is going to be completely different before I'm done here >.>
This commit is contained in:
@ -843,7 +843,7 @@ class Item implements ItemIds, \JsonSerializable{
|
||||
return true;
|
||||
}elseif($this->hasCompoundTag() and $item->hasCompoundTag()){
|
||||
//Serialized NBT didn't match, check the cached object tree.
|
||||
return NBT::matchTree($this->getNamedTag(), $item->getNamedTag());
|
||||
return $this->getNamedTag()->equals($item->getNamedTag());
|
||||
}
|
||||
}else{
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user