Don't compare NBT names - they are no longer persistant.

This commit is contained in:
Kristian S. Stangeland 2013-12-04 15:55:17 +01:00
parent c137640fee
commit 65e665aa59
2 changed files with 2 additions and 3 deletions

View File

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