Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 79ade13

Browse files
committed
[update] SchemSmartChecker
# Fix + SchemSmartChecker (cannot place schemBlock==blockToPlace)
1 parent a85f675 commit 79ade13

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G
88
loader_version=0.15.7
99

1010
# Mod Properties
11-
mod_version = 1.0.5
11+
mod_version = 1.0.5-2
1212
maven_group = org.taichiServer
1313
archives_base_name = taichi-tweaks
1414

src/main/java/org/taichiserver/taichitweaks/features/schematicBlockPlacementRestrictionBlocksMap.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
public class schematicBlockPlacementRestrictionBlocksMap {
1010
public static boolean checker(Block schematicBlock, Block blockToPlace){
11-
return Configs.Generic.SCHEMATIC_BLOCK_PLACEMENT_RESTRICTION_BLOCKS_MAP.getStrings()
11+
return schematicBlock == blockToPlace ||
12+
Configs.Generic.SCHEMATIC_BLOCK_PLACEMENT_RESTRICTION_BLOCKS_MAP.getStrings()
1213
.stream()
1314
.map(x -> x.split("\s*,\s*"))
1415
.map(x -> ImmutableList.of(

0 commit comments

Comments
 (0)