mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 13:05:41 +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.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
|
||||||
//
|
//
|
||||||
|
@ -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() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user