Modify Setting and Storage class names.

This commit is contained in:
MattBDev
2016-06-10 13:00:34 -04:00
parent 8fe381d098
commit 482f4d6815
50 changed files with 432 additions and 403 deletions

View File

@@ -14,7 +14,6 @@ import com.intellectualcrafters.plot.object.RunnableVal;
import com.intellectualcrafters.plot.util.AbstractTitle;
import com.intellectualcrafters.plot.util.CommentManager;
import com.intellectualcrafters.plot.util.EventUtil;
import com.intellectualcrafters.plot.util.expiry.ExpireManager;
import com.intellectualcrafters.plot.util.MainUtil;
import com.intellectualcrafters.plot.util.Permissions;
import com.intellectualcrafters.plot.util.PlotGameMode;
@@ -22,6 +21,7 @@ import com.intellectualcrafters.plot.util.PlotWeather;
import com.intellectualcrafters.plot.util.StringMan;
import com.intellectualcrafters.plot.util.TaskManager;
import com.intellectualcrafters.plot.util.UUIDHandler;
import com.intellectualcrafters.plot.util.expiry.ExpireManager;
import java.util.HashMap;
import java.util.Map;

View File

@@ -14,6 +14,7 @@ import com.sk89q.worldedit.extent.Extent;
import com.sk89q.worldedit.extent.NullExtent;
import com.sk89q.worldedit.util.Location;
import com.sk89q.worldedit.world.biome.BaseBiome;
import java.lang.reflect.Field;
import java.util.HashSet;
@@ -92,7 +93,7 @@ public class ProcessedWEExtent extends AbstractDelegateExtent {
return false;
}
this.BScount++;
if (this.BScount > Settings.CHUNK_PROCESSOR.MAX_TILES) {
if (this.BScount > Settings.Chunk_Processor.MAX_TILES) {
this.BSblocked = true;
PS.debug("&cPlotSquared detected unsafe WorldEdit: " + location.getBlockX() + "," + location.getBlockZ());
}
@@ -243,7 +244,7 @@ public class ProcessedWEExtent extends AbstractDelegateExtent {
return null;
}
this.Ecount++;
if (this.Ecount > Settings.CHUNK_PROCESSOR.MAX_ENTITIES) {
if (this.Ecount > Settings.Chunk_Processor.MAX_ENTITIES) {
this.Eblocked = true;
PS.debug("&cPlotSquared detected unsafe WorldEdit: " + location.getBlockX() + "," + location.getBlockZ());
}

View File

@@ -9,6 +9,7 @@ import com.intellectualcrafters.plot.object.PlotArea;
import com.intellectualcrafters.plot.object.PlotPlayer;
import com.intellectualcrafters.plot.object.RegionWrapper;
import com.sk89q.worldedit.blocks.BaseBlock;
import java.util.HashSet;
import java.util.UUID;
@@ -48,7 +49,7 @@ public class WEManager {
return regions;
}
for (Plot plot : area.getPlots()) {
if (!plot.isBasePlot() || (Settings.DONE.RESTRICT_BUILDING && (plot.getFlag(Flags.DONE).isPresent()))) {
if (!plot.isBasePlot() || (Settings.Done.RESTRICT_BUILDING && (plot.getFlag(Flags.DONE).isPresent()))) {
continue;
}
boolean allowMember = player.hasPermission("plots.worldedit.member");

View File

@@ -17,6 +17,7 @@ import com.sk89q.worldedit.util.Location;
import com.sk89q.worldedit.util.eventbus.EventHandler.Priority;
import com.sk89q.worldedit.util.eventbus.Subscribe;
import com.sk89q.worldedit.world.World;
import java.util.HashSet;
public class WESubscriber {
@@ -61,7 +62,7 @@ public class WESubscriber {
return;
}
}
if (Settings.ENABLED_COMPONENTS.CHUNK_PROCESSOR) {
if (Settings.Enabled_Components.CHUNK_PROCESSOR) {
if (PS.get().hasPlotArea(world)) {
event.setExtent(new ProcessedWEExtent(world, mask, event.getMaxBlocks(), event.getExtent(), event.getExtent()));
}