1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-11-24 00:54:48 +00:00

Some further improvements to BlockGeneric

- Only have computers implement custom block drop logic: everything
   else only drops in creative mode.
 - Fix redstone inputs not being received correctly. Introduced in
   8b86a954ee, yes I'm a silly billy.
 - Only update the neighbour which changed.
This commit is contained in:
SquidDev
2019-01-25 22:03:44 +00:00
parent 709a6329c7
commit 3aa3852ff6
20 changed files with 137 additions and 239 deletions

View File

@@ -18,7 +18,7 @@ public class RedstoneUtil
@Deprecated
public static int getRedstoneOutput( World world, BlockPos pos, EnumFacing side )
{
return world.getRedstonePower( pos, side );
return world.getRedstonePower( pos, side.getOpposite() );
}
@Deprecated