diff options
| author | Foghrye4 <foghrye4@gmail.com> | 2017-04-08 10:18:42 +0300 |
|---|---|---|
| committer | Foghrye4 <foghrye4@gmail.com> | 2017-04-08 10:18:42 +0300 |
| commit | a492e009bc895a653d2a7e19c9b320f9477f4c33 (patch) | |
| tree | 0c723475e02eccc104950a8ee1436a8d5a05d3a5 /ihl/enviroment/LightSource.java | |
| parent | 1a20d0d9a7fd77fbf499aeaaadcdb94cffb97c90 (diff) | |
Platinum dust as catalyst, Iron catalist as dust
Diffstat (limited to 'ihl/enviroment/LightSource.java')
| -rw-r--r-- | ihl/enviroment/LightSource.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ihl/enviroment/LightSource.java b/ihl/enviroment/LightSource.java index 291b15a..ff4a91f 100644 --- a/ihl/enviroment/LightSource.java +++ b/ihl/enviroment/LightSource.java @@ -72,7 +72,7 @@ public class LightSource { dx=dx>0?(dx<<16)/d:0; dy=dy>0?(dy<<16)/d:0; dz=dz>0?(dz<<16)/d:0; - int brightness = Math.min(power*(dx+dy+dz)>>16,255); + int brightness = Math.min(power*(dx+dy+dz)>>16,16); return new int[]{brightness, this.red, this.blue, this.green}; } } |
