Fix flowers emitting light. Closes #369

This commit is contained in:
Vincent Lee committed 2016-06-25 15:27:34 -05:00
1 parent 28b3e5d22b
commit 2afaac9f20
2 files changed
+3 -3

No files matched your search

@@ -201,7 +201,7 @@ public class SubTileEntity {
* Gets the light value for this SubTileEntity, this is a int (-1 to default to the flower)
*/
public int getLightValue() {
return -1;
return 0;
}
/**
@@ -41,7 +41,7 @@ public class TileSpecialFlower extends TileMod implements IWandBindable, ISubTil
private static final String TAG_SUBTILE_CMP = "subTileCmp";
public String subTileName = "";
SubTileEntity subTile;
private SubTileEntity subTile;
@Override
public SubTileEntity getSubTile() {
@@ -193,7 +193,7 @@ public class TileSpecialFlower extends TileMod implements IWandBindable, ISubTil
public int getLightValue() {
if(subTile == null)
return -1;
return 0;
return subTile.getLightValue();
}