From 04cbe144d05308f31887defee108bd75299fe3e6 Mon Sep 17 00:00:00 2001 From: Astoria Date: Mon, 18 Mar 2024 18:20:19 -0500 Subject: [PATCH] Minor simplification --- src/main/java/net/brokenmoon/tiles/RedstoneLink.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/net/brokenmoon/tiles/RedstoneLink.java b/src/main/java/net/brokenmoon/tiles/RedstoneLink.java index 8067a42..512b800 100644 --- a/src/main/java/net/brokenmoon/tiles/RedstoneLink.java +++ b/src/main/java/net/brokenmoon/tiles/RedstoneLink.java @@ -29,9 +29,7 @@ public class RedstoneLink extends Block { @Override public boolean emitsRedstonePower(BlockState state) { - if (state.get(POWERED)) - return true; - return false; + return state.get(POWERED); } @Override