forked from SteamWar/SteamWar
Reduce to 34 compiler errors
This commit is contained in:
@@ -89,9 +89,9 @@ public class SkinCommand extends SWCommand {
|
||||
return;
|
||||
}
|
||||
|
||||
Region.copy(region.getMinPoint(), region.getMaxPoint(), arenaFile);
|
||||
Region.copy(region.getArea().getMinPoint(false), region.getArea().getMaxPoint(false), arenaFile);
|
||||
if (testblockFile != null) {
|
||||
Region.copy(region.getMinPointTestblock(), region.getMaxPointTestblock(), testblockFile);
|
||||
Region.copy(region.getTestblockArea().getMinPoint(false), region.getTestblockArea().getMaxPoint(false), testblockFile);
|
||||
}
|
||||
|
||||
YAPIONObject yapionObject = new YAPIONObject();
|
||||
|
||||
+3
-3
@@ -53,11 +53,11 @@ public class BoundaryViewer implements Listener {
|
||||
}
|
||||
|
||||
private void showRegion(Region region, Player player) {
|
||||
drawCuboid(player, TrickyParticleWrapper.impl.getVillagerHappy(), region.getMinPoint(), region.getMaxPoint());
|
||||
if (region.getTestblockArea().isPresent()) {
|
||||
drawCuboid(player, TrickyParticleWrapper.impl.getVillagerHappy(), region.getArea().getMinPoint(false), region.getArea().getMaxPoint(false));
|
||||
if (!region.getTestblockArea().isEmpty()) {
|
||||
drawCuboid(player, Particle.END_ROD, region.getTestblockArea().getMinPoint(true), region.getTestblockArea().getMaxPoint(true));
|
||||
}
|
||||
if (region.getBuildArea().isPresent()) {
|
||||
if (!region.getBuildArea().isEmpty()) {
|
||||
drawCuboid(player, Particle.END_ROD, region.getBuildArea().getMinPoint(true), region.getBuildArea().getMaxPoint(true));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user