Skip to content

Commit b916b32

Browse files
committed
Add warning about version compatibility when exporting schematic
1 parent 8583cf2 commit b916b32

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/calculate_size/calculate_size.gml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
function calculate_size() {
22
var a, b, c;
3+
if (warning_schematic == 0) {
4+
message("The exported schematic is currently only compatible with Minecraft: Java Edition 1.12 and below. To import it in 1.13 and above, first create a world in 1.12, import the schematic, then open the world in 1.13 or above. Newer versions may be supported in the future.\n\nThis warning will never be shown again.", "Warning")
5+
warning_schematic = 1
6+
save_settings()
7+
}
38
if (block_outside > 0) {
49
if (!question("Some note blocks are outside of Minecraft's 2 octave limit. Do you want to export a Schematic anyway, ignoring the affected blocks?", "Minecraft Compatibility")) return 0
510
}

0 commit comments

Comments
 (0)