Allow mutating CanonizingStringMap.keySet()
This commit is contained in:
parent
e4ef3103cc
commit
9b50a50bad
|
|
@ -98,7 +98,8 @@ public class CanonizingStringMap<T> implements Map<String, T> {
|
|||
@NotNull
|
||||
@Override
|
||||
public Set<String> keySet() {
|
||||
return Collections.unmodifiableSet(this.backingMap.keySet());
|
||||
// has to be modifiable because mods (cough, Tinkers) use it to clear the tag
|
||||
return this.backingMap.keySet();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user