Fix getLightOpacity

This commit is contained in:
dordsor21 2020-05-27 17:25:03 +01:00
parent bdc14c10c7
commit 75153d8da8
3 changed files with 3 additions and 3 deletions

View File

@ -98,7 +98,7 @@ public class BlockMaterial_1_14 implements BlockMaterial {
@Override
public int getLightOpacity() {
return isTranslucent() ? 15 : 0;
return !isTranslucent() ? 15 : 0;
}
@Override

View File

@ -98,7 +98,7 @@ public class BlockMaterial_1_15 implements BlockMaterial {
@Override
public int getLightOpacity() {
return isTranslucent() ? 15 : 0;
return !isTranslucent() ? 15 : 0;
}
@Override

View File

@ -94,7 +94,7 @@ public class BlockMaterial_1_15_2 implements BlockMaterial {
@Override
public int getLightOpacity() {
return isTranslucent() ? 15 : 0;
return !isTranslucent() ? 15 : 0;
}
@Override