Update forge/mappings/thaumcraft

This commit is contained in:
Vincent Lee committed 2018-12-25 22:02:04 -06:00
1 parent 5393a5202a
commit fb8ebd8ca7
113 files changed
+179 -185

No files matched your search

@@ -89,7 +89,7 @@ public class BlockLightLauncher extends BlockMod implements ILexiconable {
@Override
public void neighborChanged(IBlockState state, World world, BlockPos pos, Block block, BlockPos fromPos) {
boolean power = world.isBlockIndirectlyGettingPowered(pos) > 0|| world.isBlockIndirectlyGettingPowered(pos.up()) > 0;
boolean power = world.getRedstonePowerFromNeighbors(pos) > 0|| world.getRedstonePowerFromNeighbors(pos.up()) > 0;
boolean powered = state.getValue(BotaniaStateProps.POWERED);
if(power && !powered) {