Merge branch 'v6' into feature/v6/pipeline-queue

This commit is contained in:
dordsor21 2020-07-24 12:34:41 +01:00
commit 8c5c1922c9
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B
2 changed files with 8 additions and 0 deletions

View File

@ -45,6 +45,7 @@ import com.plotsquared.core.generator.IndependentPlotGenerator;
import com.plotsquared.core.inject.factory.HybridPlotWorldFactory; import com.plotsquared.core.inject.factory.HybridPlotWorldFactory;
import com.plotsquared.core.listener.PlotListener; import com.plotsquared.core.listener.PlotListener;
import com.plotsquared.core.location.Location; import com.plotsquared.core.location.Location;
import com.plotsquared.core.player.PlayerMetaDataKeys;
import com.plotsquared.core.plot.BlockBucket; import com.plotsquared.core.plot.BlockBucket;
import com.plotsquared.core.plot.Plot; import com.plotsquared.core.plot.Plot;
import com.plotsquared.core.plot.PlotArea; import com.plotsquared.core.plot.PlotArea;
@ -162,6 +163,9 @@ public class PlotSquared {
this.platform = iPlotMain; this.platform = iPlotMain;
Settings.PLATFORM = platform; Settings.PLATFORM = platform;
// Initialize the class
PlayerMetaDataKeys.load();
// //
// Register configuration serializable classes // Register configuration serializable classes
// //

View File

@ -54,6 +54,10 @@ public final class PlayerMetaDataKeys {
public static final MetaDataKey<CmdInstance> TEMPORARY_CONFIRM = MetaDataKey.of("cmdConfirm", new TypeLiteral<CmdInstance>() {}); public static final MetaDataKey<CmdInstance> TEMPORARY_CONFIRM = MetaDataKey.of("cmdConfirm", new TypeLiteral<CmdInstance>() {});
//@formatter:on //@formatter:on
public static void load() {
// Do nothing :D
}
private PlayerMetaDataKeys() { private PlayerMetaDataKeys() {
} }