mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-28 05:35:28 +01:00
Don't compare NBT names - they are no longer persistant.
This commit is contained in:
parent
c137640fee
commit
65e665aa59
@ -227,8 +227,7 @@ class WrappedElement<TType> implements NbtWrapper<TType> {
|
|||||||
|
|
||||||
// Make sure we're dealing with the same type
|
// Make sure we're dealing with the same type
|
||||||
if (other.getType().equals(getType())) {
|
if (other.getType().equals(getType())) {
|
||||||
return Objects.equal(getName(), other.getName()) &&
|
return Objects.equal(getValue(), other.getValue());
|
||||||
Objects.equal(getValue(), other.getValue());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user