mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Merge branch 'v6' into feature/v6/pipeline-queue
This commit is contained in:
commit
416e181992
@ -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