From d7a49e3316df57bbe4a0e2a701e82b78a8954010 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20S=C3=B6derberg?= Date: Fri, 24 Jul 2020 14:08:40 +0200 Subject: [PATCH] This is not my fault --- .../com/plotsquared/core/player/TemporaryMetaDataAccess.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/player/TemporaryMetaDataAccess.java b/Core/src/main/java/com/plotsquared/core/player/TemporaryMetaDataAccess.java index 22c5dd631..2d1beb060 100644 --- a/Core/src/main/java/com/plotsquared/core/player/TemporaryMetaDataAccess.java +++ b/Core/src/main/java/com/plotsquared/core/player/TemporaryMetaDataAccess.java @@ -53,9 +53,9 @@ final class TemporaryMetaDataAccess extends MetaDataAccess { return (T) old; } - @Override public void set(@Nonnull T value) { + @Override public void set(@Nonnull final T value) { this.checkClosed(); - this.getPlayer().setMeta(this.getMetaDataKey().toString(), null); + this.getPlayer().setMeta(this.getMetaDataKey().toString(), value); } @Nonnull @Override public Optional get() {