Skip to content

Commit

Permalink
fix shaped template blocks (extruder mk2) going x-ray
Browse files Browse the repository at this point in the history
  • Loading branch information
desht committed Aug 11, 2023
1 parent 7082bd4 commit 562d282
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/me/desht/modularrouters/core/ModBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ public class ModBlocks {
.sound(SoundType.METAL)
.noOcclusion();
private static final BlockBehaviour.Properties TEMPLATE_FRAME_PROPS = Block.Properties.of(Material.GLASS)
.isValidSpawn((state, world, pos, entityType) -> false);
.isValidSpawn((state, world, pos, entityType) -> false)
.noOcclusion();

public static final RegistryObject<ModularRouterBlock> MODULAR_ROUTER = register("modular_router",
() -> new ModularRouterBlock(ROUTER_PROPS));
Expand Down

0 comments on commit 562d282

Please sign in to comment.