forked from SteamWar/SteamWar
Refactor to simplify API usage and improve compatibility by replacing legacy methods and adapting to updated libraries.
Signed-off-by: Chaoscaot <max@maxsp.de>
This commit is contained in:
@@ -118,12 +118,12 @@ public class TowerGenerator {
|
||||
ClipboardHolder ch = new ClipboardHolder(clipboard);
|
||||
Operations.completeBlindly(ch.createPaste(e).to(BlockVector3.at(config.x, y, config.z)).build());
|
||||
}
|
||||
width = clipboard.getDimensions().getX();
|
||||
depth = clipboard.getDimensions().getZ();
|
||||
width = clipboard.getDimensions().x();
|
||||
depth = clipboard.getDimensions().z();
|
||||
currentY = y;
|
||||
y += clipboard.getDimensions().getY();
|
||||
height -= clipboard.getDimensions().getY();
|
||||
TowerGenerator.this.height += clipboard.getDimensions().getY();
|
||||
y += clipboard.getDimensions().y();
|
||||
height -= clipboard.getDimensions().y();
|
||||
TowerGenerator.this.height += clipboard.getDimensions().y();
|
||||
} catch (IOException e) {
|
||||
allSchematics.remove(schematicNode);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user