mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Allow get value on tags
This commit is contained in:
parent
6b7bd75b18
commit
ba31a56949
@ -308,7 +308,7 @@ public class ListTag<T extends Tag<?>> extends Tag<List<T>> implements Iterable<
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(getTypeClass().hashCode(), getValue().hashCode());
|
||||
return Objects.hash(getValue().hashCode());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -94,7 +94,7 @@ public abstract class Tag<T> implements Cloneable {
|
||||
/**
|
||||
* @return The value of this Tag.
|
||||
*/
|
||||
protected T getValue() {
|
||||
public T getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user