From 020658e1dbad52a743abbeb66d431d6d89723605 Mon Sep 17 00:00:00 2001 From: thefirethirteen Date: Sun, 26 Mar 2023 23:03:47 +0300 Subject: [PATCH] Make mod 1.19.4 compatible --- .../patternedglass/init/blocks/PatternedGlassBlock.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/thenamesnano/patternedglass/init/blocks/PatternedGlassBlock.java b/src/main/java/com/thenamesnano/patternedglass/init/blocks/PatternedGlassBlock.java index 64f0d8e..ce8a5d7 100644 --- a/src/main/java/com/thenamesnano/patternedglass/init/blocks/PatternedGlassBlock.java +++ b/src/main/java/com/thenamesnano/patternedglass/init/blocks/PatternedGlassBlock.java @@ -45,7 +45,7 @@ protected void appendProperties(StateManager.Builder builder) @Override public BlockState getPlacementState(ItemPlacementContext ctx) { - return getDefaultState().with(FACING, ctx.getPlayerFacing().getOpposite()); + return getDefaultState().with(FACING, ctx.getHorizontalPlayerFacing().getOpposite()); } @Override