Skip to content

Commit

Permalink
Added config option to ignore blocks when pasting schematic in a sche…
Browse files Browse the repository at this point in the history
…matic mine.
  • Loading branch information
joserodpt committed Oct 25, 2024
1 parent 5009ddc commit e4df7f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public void placeSchematic(final Clipboard clipboard, final Location loc) {
Operation operation = holder
.createPaste(editSession)
.to(to)
.ignoreAirBlocks(true)
.ignoreAirBlocks(RMConfig.file().getBoolean("RealMines.ignoreAirBlocksSchematicPasting", true))
.copyBiomes(false)
.copyEntities(false)
.build();
Expand Down
1 change: 1 addition & 0 deletions realmines-plugin/src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RealMines:
broadcastResetMessageOnlyInWorld: false
useButtonGUIForPercentages: true
useWorldEditForBlockPlacement: true
ignoreAirBlocksSchematicPasting: true
announceTimes:
- 30
- 20
Expand Down

0 comments on commit e4df7f1

Please sign in to comment.