mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 20:22:33 +00:00
Fix flowers emitting light. Closes #369
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user