diff --git a/paper-server/patches/sources/net/minecraft/world/level/block/SculkSensorBlock.java.patch b/paper-server/patches/sources/net/minecraft/world/level/block/SculkSensorBlock.java.patch index c937fea7dd..8e63b99d10 100644 --- a/paper-server/patches/sources/net/minecraft/world/level/block/SculkSensorBlock.java.patch +++ b/paper-server/patches/sources/net/minecraft/world/level/block/SculkSensorBlock.java.patch @@ -30,7 +30,12 @@ BlockEntity tileentity = world.getBlockEntity(pos); if (tileentity instanceof SculkSensorBlockEntity) { -@@ -202,6 +218,15 @@ +@@ -198,10 +214,19 @@ + } + + public static boolean canActivate(BlockState state) { +- return SculkSensorBlock.getPhase(state) == SculkSensorPhase.INACTIVE; ++ return state.getBlock() instanceof SculkSensorBlock && SculkSensorBlock.getPhase(state) == SculkSensorPhase.INACTIVE; // Paper - Check for a valid type } public static void deactivate(Level world, BlockPos pos, BlockState state) {