mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Fix getLightOpacity
This commit is contained in:
parent
bdc14c10c7
commit
75153d8da8
@ -98,7 +98,7 @@ public class BlockMaterial_1_14 implements BlockMaterial {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getLightOpacity() {
|
public int getLightOpacity() {
|
||||||
return isTranslucent() ? 15 : 0;
|
return !isTranslucent() ? 15 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -98,7 +98,7 @@ public class BlockMaterial_1_15 implements BlockMaterial {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getLightOpacity() {
|
public int getLightOpacity() {
|
||||||
return isTranslucent() ? 15 : 0;
|
return !isTranslucent() ? 15 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -94,7 +94,7 @@ public class BlockMaterial_1_15_2 implements BlockMaterial {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getLightOpacity() {
|
public int getLightOpacity() {
|
||||||
return isTranslucent() ? 15 : 0;
|
return !isTranslucent() ? 15 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user