mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 14:46:45 +01:00
make sure the PlayerMetaDataKeys keys are loaded
This commit is contained in:
parent
dc1f669a1f
commit
97a2ccbfe0
@ -45,6 +45,7 @@ import com.plotsquared.core.generator.IndependentPlotGenerator;
|
||||
import com.plotsquared.core.inject.factory.HybridPlotWorldFactory;
|
||||
import com.plotsquared.core.listener.PlotListener;
|
||||
import com.plotsquared.core.location.Location;
|
||||
import com.plotsquared.core.player.PlayerMetaDataKeys;
|
||||
import com.plotsquared.core.plot.BlockBucket;
|
||||
import com.plotsquared.core.plot.Plot;
|
||||
import com.plotsquared.core.plot.PlotArea;
|
||||
@ -162,6 +163,9 @@ public class PlotSquared {
|
||||
this.platform = iPlotMain;
|
||||
Settings.PLATFORM = platform;
|
||||
|
||||
// Initialize the class
|
||||
PlayerMetaDataKeys.load();
|
||||
|
||||
//
|
||||
// Register configuration serializable classes
|
||||
//
|
||||
|
@ -54,6 +54,10 @@ public final class PlayerMetaDataKeys {
|
||||
public static final MetaDataKey<CmdInstance> TEMPORARY_CONFIRM = MetaDataKey.of("cmdConfirm", new TypeLiteral<CmdInstance>() {});
|
||||
//@formatter:on
|
||||
|
||||
public static void load() {
|
||||
// Do nothing :D
|
||||
}
|
||||
|
||||
private PlayerMetaDataKeys() {
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user