mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-11 15:57:42 +00:00
Merge pull request #20 from MrTJP/patch-1
Light attribute should not depend on colour
This commit is contained in:
commit
bdb0c8f174
1 file changed
+1
-1
@@ -190,7 +190,7 @@ public class CCRenderState
|
||||
|
||||
@Override
|
||||
public boolean load() {
|
||||
if(!computeLighting || !hasColour || !model.hasAttribute(this))
|
||||
if(!computeLighting || !useColour || !model.hasAttribute(this))
|
||||
return false;
|
||||
|
||||
colourRef = model.getAttributes(this);
|
||||
|
||||
Reference in new issue
Block a user