forked from SteamWar/SteamWar
Reduce to 34 compiler errors
This commit is contained in:
@@ -91,11 +91,11 @@ public class WarpListener implements Listener {
|
||||
locations.put(warp.getName(), warp.getLocation());
|
||||
});
|
||||
Region region = Region.getRegion(p.getLocation());
|
||||
if (region.getCopyPoint() != null) {
|
||||
locations.put("Copy", region.getCopyPoint().toLocation(p).add(0.5, 0, 0.5));
|
||||
if (region.getBuildArea().getCopyPoint() != null) {
|
||||
locations.put("Copy", region.getBuildArea().getCopyPoint().toLocation(p).add(0.5, 0, 0.5));
|
||||
}
|
||||
if (region.getTestBlockPoint() != null) {
|
||||
locations.put("TestBlock", region.getTestBlockPoint().toLocation(p).add(0.5, 0, 0.5));
|
||||
if (region.getTestblockArea().getCopyPoint() != null) {
|
||||
locations.put("TestBlock", region.getTestblockArea().getCopyPoint().toLocation(p).add(0.5, 0, 0.5));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user