SteamWar/FightSystem
Archiviert
13
1

Fix prepared schematics one too big
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2021-10-10 14:31:43 +02:00
Ursprung 34f75bfeb7
Commit 681df203da
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -125,7 +125,7 @@ public class WorldeditWrapper14 implements WorldeditWrapper.IWorldeditWrapper {
public void saveSchem(Schematic schem, Region region, int minY) throws WorldEditException { public void saveSchem(Schematic schem, Region region, int minY) throws WorldEditException {
World w = new BukkitWorld(Bukkit.getWorlds().get(0)); World w = new BukkitWorld(Bukkit.getWorlds().get(0));
BlockVector3 min = BlockVector3.at(region.getMinX(), minY, region.getMinZ()); BlockVector3 min = BlockVector3.at(region.getMinX(), minY, region.getMinZ());
CuboidRegion cuboidRegion = new CuboidRegion(w, min, BlockVector3.at(region.getMaxX(), region.getMaxY(), region.getMaxZ())); CuboidRegion cuboidRegion = new CuboidRegion(w, min, BlockVector3.at(region.getMaxX(), region.getMaxY(), region.getMaxZ()).subtract(BlockVector3.ONE));
BlockArrayClipboard clipboard = new BlockArrayClipboard(cuboidRegion); BlockArrayClipboard clipboard = new BlockArrayClipboard(cuboidRegion);
ForwardExtentCopy forwardExtentCopy = new ForwardExtentCopy( ForwardExtentCopy forwardExtentCopy = new ForwardExtentCopy(

Datei anzeigen

@ -124,7 +124,7 @@ public class WorldeditWrapper8 implements WorldeditWrapper.IWorldeditWrapper {
public void saveSchem(Schematic schem, Region region, int minY) throws WorldEditException { public void saveSchem(Schematic schem, Region region, int minY) throws WorldEditException {
World w = new BukkitWorld(Bukkit.getWorlds().get(0)); World w = new BukkitWorld(Bukkit.getWorlds().get(0));
Vector min = new Vector(region.getMinX(), minY, region.getMinZ()); Vector min = new Vector(region.getMinX(), minY, region.getMinZ());
CuboidRegion cuboidRegion = new CuboidRegion(w, min, new Vector(region.getMaxX(), region.getMaxY(), region.getMaxZ())); CuboidRegion cuboidRegion = new CuboidRegion(w, min, new Vector(region.getMaxX(), region.getMaxY(), region.getMaxZ()).subtract(Vector.ONE));
BlockArrayClipboard clipboard = new BlockArrayClipboard(cuboidRegion); BlockArrayClipboard clipboard = new BlockArrayClipboard(cuboidRegion);
ForwardExtentCopy forwardExtentCopy = new ForwardExtentCopy( ForwardExtentCopy forwardExtentCopy = new ForwardExtentCopy(