mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-17 11:15:07 +00:00
fix the boo boo
This commit is contained in:
1 parent
28b7b4b296
commit
47fcd33c65
2 files changed
+2
-59
No files matched your search
@@ -15,13 +15,11 @@ public class BlockCarvableGlow extends BlockCarvableColor {
|
||||
private IIcon glowTexture;
|
||||
|
||||
private String glowTexturePath;
|
||||
private boolean isColored;
|
||||
|
||||
public BlockCarvableGlow(String glowTexture, boolean colorized) {
|
||||
public BlockCarvableGlow(String glowTexture) {
|
||||
super();
|
||||
setLightLevel(0.5f);
|
||||
this.glowTexturePath = glowTexture;
|
||||
this.isColored = colorized;
|
||||
}
|
||||
|
||||
public BlockCarvableGlow(Material mat, String glowTexture) {
|
||||
@@ -41,10 +39,6 @@ public class BlockCarvableGlow extends BlockCarvableColor {
|
||||
|
||||
@Override
|
||||
public int getRenderType() {
|
||||
if(this.isColored){
|
||||
return Chisel.renderGlowId;
|
||||
} else {
|
||||
return Chisel.renderNoColorGlowId;
|
||||
}
|
||||
return Chisel.renderGlowId;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user