mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 13:05:41 +01:00
This is not my fault
This commit is contained in:
parent
f53a8d3b06
commit
d7a49e3316
@ -53,9 +53,9 @@ final class TemporaryMetaDataAccess<T> extends MetaDataAccess<T> {
|
|||||||
return (T) old;
|
return (T) old;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public void set(@Nonnull T value) {
|
@Override public void set(@Nonnull final T value) {
|
||||||
this.checkClosed();
|
this.checkClosed();
|
||||||
this.getPlayer().setMeta(this.getMetaDataKey().toString(), null);
|
this.getPlayer().setMeta(this.getMetaDataKey().toString(), value);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nonnull @Override public Optional<T> get() {
|
@Nonnull @Override public Optional<T> get() {
|
||||||
|
Loading…
Reference in New Issue
Block a user