-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hello,
I'm having an issue with the schematic4j library: I can't load .schem files (Sponge format v3) in my Kotlin plugin. I'm using PaperMC 1.21.4, and I’ve added this version of schematic4j as a dependency.
Currently, my code looks like this:
val schematic: String = ""
private fun pasteSchematic(schematic: String) {
val schem = SchematicLoader.load("plugins/FastAsyncWorldEdit/schematics/$schematic")
logger.info("Loaded ${schem.name()} : ${schem.width()}x${schem.height()}x${schem.length()}")
}However, the logger outputs:
[Typewriter] Loaded null : 0x0x0
I'm sorry to bother you, and I appreciate any help.
Looking forward to your response,
Xaya
Metadata
Metadata
Assignees
Labels
No labels