More NBT updates

This library is going to be completely different before I'm done here >.>
This commit is contained in:
Dylan K. Taylor
2018-02-15 12:11:36 +00:00
parent ce4e0bf69c
commit 42a7b7fa36
3 changed files with 7 additions and 7 deletions

View File

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