mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Another pass through
This commit is contained in:
1 parent
bd5b395ee8
commit
fc1dd61c53
66 files changed
+170
-296
No files matched your search
@@ -41,7 +41,7 @@ public class BlockRedStringDispenser extends BlockRedString {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void neighborChanged(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos) {
|
||||
public void neighborChanged(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) {
|
||||
boolean power = world.getRedstonePowerFromNeighbors(pos) > 0 || world.getRedstonePowerFromNeighbors(pos.up()) > 0;
|
||||
boolean powered = state.get(BotaniaStateProps.POWERED);
|
||||
|
||||
|
||||
Reference in new issue
Block a user