Reduce to 34 compiler errors

This commit is contained in:
2025-07-30 18:49:54 +02:00
parent 0287881e33
commit 598daadd33
24 changed files with 84 additions and 95 deletions
@@ -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));
}
}