Allow get value on tags

This commit is contained in:
cyberpwn 2021-08-25 05:18:07 -04:00
parent 6b7bd75b18
commit ba31a56949
2 changed files with 2 additions and 2 deletions

View File

@ -308,7 +308,7 @@ public class ListTag<T extends Tag<?>> extends Tag<List<T>> implements Iterable<
@Override @Override
public int hashCode() { public int hashCode() {
return Objects.hash(getTypeClass().hashCode(), getValue().hashCode()); return Objects.hash(getValue().hashCode());
} }
@Override @Override

View File

@ -94,7 +94,7 @@ public abstract class Tag<T> implements Cloneable {
/** /**
* @return The value of this Tag. * @return The value of this Tag.
*/ */
protected T getValue() { public T getValue() {
return value; return value;
} }