Skip to content

Commit

Permalink
Remove leftover from bc60c15
Browse files Browse the repository at this point in the history
(cherry picked from commit 4337486)
  • Loading branch information
maxanier committed Jul 5, 2017
1 parent bfa55a5 commit dba86d5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/de/teamlapen/vampirism/util/Helper.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumParticleTypes;
import net.minecraft.util.math.BlockPos;
Expand Down Expand Up @@ -80,7 +79,6 @@ public static boolean canBlockSeeSun(World world, BlockPos pos) {
int liquidBlocks = 0;
for (blockpos = blockpos.down(); blockpos.getY() > pos.getY(); blockpos = blockpos.down()) {
IBlockState iblockstate = world.getBlockState(blockpos);
Blocks.STAINED_GLASS.setLightOpacity(0);
if (iblockstate.getBlock().getLightOpacity(iblockstate, world, blockpos) > 0) {
if (iblockstate.getMaterial().isLiquid()) {
liquidBlocks++;
Expand Down

0 comments on commit dba86d5

Please sign in to comment.