From e70ea765f8e017f84fc5400684dd13a9e93cb5ca Mon Sep 17 00:00:00 2001 From: Glease <4586901+Glease@users.noreply.github.com> Date: Mon, 29 Aug 2022 00:49:40 +0800 Subject: [PATCH] spotless --- .../gtnewhorizon/structurelib/structure/StructureUtility.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/gtnewhorizon/structurelib/structure/StructureUtility.java b/src/main/java/com/gtnewhorizon/structurelib/structure/StructureUtility.java index cd1045ea..967f3f0a 100644 --- a/src/main/java/com/gtnewhorizon/structurelib/structure/StructureUtility.java +++ b/src/main/java/com/gtnewhorizon/structurelib/structure/StructureUtility.java @@ -434,7 +434,8 @@ public PlaceResult survivalPlaceBlock( Block block = world.getBlock(x, y, z); int meta = world.getBlockMetadata(x, y, z); TIER tier = tierExtractor.convert(block, meta); - if (Objects.equals(tier, tierExtractor.convert(hint.getKey(), hint.getValue()))) return PlaceResult.SKIP; + if (Objects.equals(tier, tierExtractor.convert(hint.getKey(), hint.getValue()))) + return PlaceResult.SKIP; return StructureUtility.survivalPlaceBlock( hint.getKey(), hint.getValue(), world, x, y, z, s, actor, chatter); }