From e3a5e33ebd496dfee118489c432cf220c90c61f3 Mon Sep 17 00:00:00 2001 From: aria1th <35677394+aria1th@users.noreply.github.com> Date: Sat, 16 Dec 2023 15:41:26 +0900 Subject: [PATCH] more version changes + merge into FallingBlock --- .../java/io/github/eatmyvenom/litematicin/utils/Printer.java | 2 +- versions/mapping-1.20.4-1.20.2.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/io/github/eatmyvenom/litematicin/utils/Printer.java b/src/main/java/io/github/eatmyvenom/litematicin/utils/Printer.java index e60e924d..478801c0 100644 --- a/src/main/java/io/github/eatmyvenom/litematicin/utils/Printer.java +++ b/src/main/java/io/github/eatmyvenom/litematicin/utils/Printer.java @@ -912,7 +912,7 @@ else if (stateSchematic.isOf(Blocks.FARMLAND) && PRINTER_PRINT_DIRT_VARIANTS.get recordCause(pos, stateSchematic.getBlock().getTranslationKey() + " at " + pos.toShortString() + " is lava", pos); MessageHolder.sendUniqueMessage(mc.player, getReason(pos.asLong())); continue; - } else if (sBlock instanceof SandBlock || sBlock instanceof DragonEggBlock || sBlock instanceof ConcretePowderBlock || sBlock instanceof GravelBlock || sBlock instanceof AnvilBlock) { + } else if (sBlock instanceof FallingBlock) { // Falling blocks, check if they have support BlockPos Offsetpos = new BlockPos(x, y - 1, z); BlockState OffsetstateSchematic = world.getBlockState(Offsetpos); diff --git a/versions/mapping-1.20.4-1.20.2.txt b/versions/mapping-1.20.4-1.20.2.txt index e69de29b..34f2d206 100644 --- a/versions/mapping-1.20.4-1.20.2.txt +++ b/versions/mapping-1.20.4-1.20.2.txt @@ -0,0 +1 @@ +net.minecraft.text.PlainTextContent net.minecraft.text.TextContent \ No newline at end of file