This commit is contained in:
Anuken
2023-04-02 13:28:49 -04:00
parent c5c65d4475
commit 251e10b000
2 changed files with 5 additions and 1 deletions

View File

@@ -127,7 +127,7 @@ abstract class PuddleComp implements Posc, Puddlec, Drawc, Syncc{
@Replace
public float clipSize(){
return 20;
return 50; //high for light drawing
}
@Override

View File

@@ -1144,6 +1144,10 @@ public class Block extends UnlockableContent implements Senseable{
clipSize = Math.max(clipSize, size * tilesize);
if(hasLiquids && drawLiquidLight){
clipSize = Math.max(size * 30f * 2f, clipSize);
}
if(emitLight){
clipSize = Math.max(clipSize, lightRadius * 2f);
}