Skip to content

Commit 85a3783

Browse files
committed
fixed crash with other create mod addons
1 parent 369efe7 commit 85a3783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/net/adeptstack/registry/TrainUtilitiesBuilderTransformers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public static BlockEntry<DoorBlock> DefaultMinecraftDoor(String type, MapColor c
171171
}
172172

173173
public static <B extends TrainSlidingDoorBlock, P> NonNullUnaryOperator<BlockBuilder<B, P>> slidingDoor(String type) {
174-
return b -> b.initialProperties(AllBlocks.FRAMED_GLASS_DOOR) // for villager AI..
174+
return b -> b.initialProperties(() -> Blocks.OAK_DOOR) // for villager AI..
175175
.properties(p -> p.strength(3.0F, 6.0F))
176176
.transform(pickaxeOnly())
177177
.onRegister(interactionBehaviour(new TrainSlidingDoorMovingInteraction()))

0 commit comments

Comments
 (0)