mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
No need to convert to a BlockState here
This commit is contained in:
parent
d34f5cc97e
commit
bf4d953f3c
@ -84,16 +84,16 @@ import java.util.Locale;
|
|||||||
super.loadConfiguration(config);
|
super.loadConfiguration(config);
|
||||||
this.PLOT_BEDROCK = config.getBoolean("plot.bedrock");
|
this.PLOT_BEDROCK = config.getBoolean("plot.bedrock");
|
||||||
this.PLOT_HEIGHT = Math.min(255, config.getInt("plot.height"));
|
this.PLOT_HEIGHT = Math.min(255, config.getInt("plot.height"));
|
||||||
this.MAIN_BLOCK = new BlockBucket(BlockUtil.get(config.getString("plot.filling")));
|
this.MAIN_BLOCK = new BlockBucket(config.getString("plot.filling"));
|
||||||
this.TOP_BLOCK = new BlockBucket(BlockUtil.get(config.getString("plot.floor")));
|
this.TOP_BLOCK = new BlockBucket(config.getString("plot.floor"));
|
||||||
this.WALL_BLOCK = new BlockBucket(BlockUtil.get(config.getString("wall.block")));
|
this.WALL_BLOCK = new BlockBucket(config.getString("wall.block"));
|
||||||
this.ROAD_HEIGHT = Math.min(255, config.getInt("road.height"));
|
this.ROAD_HEIGHT = Math.min(255, config.getInt("road.height"));
|
||||||
this.ROAD_BLOCK = new BlockBucket(BlockUtil.get(config.getString("road.block")));
|
this.ROAD_BLOCK = new BlockBucket(config.getString("road.block"));
|
||||||
this.WALL_FILLING =
|
this.WALL_FILLING =
|
||||||
new BlockBucket(BlockUtil.get(config.getString("wall.filling")));
|
new BlockBucket(config.getString("wall.filling"));
|
||||||
this.WALL_HEIGHT = Math.min(254, config.getInt("wall.height"));
|
this.WALL_HEIGHT = Math.min(254, config.getInt("wall.height"));
|
||||||
this.CLAIMED_WALL_BLOCK =
|
this.CLAIMED_WALL_BLOCK =
|
||||||
new BlockBucket(BlockUtil.get(config.getString("wall.block_claimed")));
|
new BlockBucket(config.getString("wall.block_claimed"));
|
||||||
|
|
||||||
// Dump world settings
|
// Dump world settings
|
||||||
if (Settings.DEBUG) {
|
if (Settings.DEBUG) {
|
||||||
|
Loading…
Reference in New Issue
Block a user