SteamWar/BauSystem
Archiviert
13
0

Added debug out

Dieser Commit ist enthalten in:
Zeanon 2021-04-10 20:10:50 +02:00
Ursprung 7b3be4ae1e
Commit 63cce8aaeb

Datei anzeigen

@ -81,7 +81,7 @@ class Region_15 {
} }
Operations.completeBlindly(ch.createPaste(e).to(v).ignoreAirBlocks(pasteOptions.isIgnoreAir()).build()); Operations.completeBlindly(ch.createPaste(e).to(v).ignoreAirBlocks(pasteOptions.isIgnoreAir()).build());
if (pasteOptions.isReset() && pasteOptions.getWaterLevel() != 0) { if (pasteOptions.isReset() && pasteOptions.getWaterLevel() != 0) {
e.replaceBlocks(new CuboidRegion(RegionUtils_15.toBlockVector3(pasteOptions.getMinPoint()), RegionUtils_15.toBlockVector3(pasteOptions.getMaxPoint()).withY(pasteOptions.getWaterLevel())), new HashSet<>(Arrays.asList(BlockTypes.AIR.getDefaultState().toBaseBlock())), BlockTypes.WATER.getDefaultState().toBaseBlock()); System.out.println(e.replaceBlocks(new CuboidRegion(RegionUtils_15.toBlockVector3(pasteOptions.getMinPoint()), RegionUtils_15.toBlockVector3(pasteOptions.getMaxPoint()).withY(pasteOptions.getWaterLevel())), new HashSet<>(Arrays.asList(BlockTypes.AIR.getDefaultState().toBaseBlock())), BlockTypes.WATER.getDefaultState().toBaseBlock()));
} }
return e; return e;
} catch (WorldEditException e) { } catch (WorldEditException e) {