Skip to content

Commit f60686c

Browse files
Update dependency net.onelitefeather:mycelium-bom to v1.6.1 (#27)
* Update dependency net.onelitefeather:mycelium-bom to v1.6.1 * fix(placement): update apply method usage --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: theEvilReaper <theEvilReaper@users.noreply.github.com>
1 parent 4a06858 commit f60686c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencyResolutionManagement {
2222
versionCatalogs {
2323
create("libs") {
2424
version("schem", "2.0.1")
25-
version("bom", "1.5.3")
25+
version("bom", "1.6.1")
2626

2727
library("bom.base", "net.onelitefeather", "mycelium-bom").versionRef("bom")
2828

src/main/java/net/theevilreaper/apis/api/util/RoomSchematicPlacement.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ public static void placeRoom(@NotNull Instance instance, @NotNull Point position
3535
try {
3636
schematicContent = Files.readAllBytes(schematicPath);
3737
Schematic schematic = SchematicReader.detecting().read(schematicContent);
38-
schematic.createBatch(Rotation.NONE).apply(instance, position, () -> {});
38+
//TODO: Check if we should add a parameter for the callback
39+
schematic.createBatch(Rotation.NONE).apply(instance, position, null);
3940
} catch (Exception exception) {
4041
exception.printStackTrace();
4142
}

0 commit comments

Comments
 (0)