mirror of
https://github.com/GTNewHorizons/Avaritia.git
synced 2026-11-25 14:34:52 +00:00
1 parent
f1ae638bfd
commit
df4e6e2919
2 files changed
+11
-3
No files matched your search
@@ -72,7 +72,12 @@ public class CosmicRenderShenanigans {
|
||||
|
||||
private static Field mapfield = ReflectionHelper.findField(EntityRenderer.class, lightmapobf);
|
||||
public static void setLightFromLocation(World world, int x, int y, int z) {
|
||||
int coord = world.getLightBrightnessForSkyBlocks(x, y, z, 0);
|
||||
if(world == null){
|
||||
setLightLevel(1.0f);
|
||||
return;
|
||||
}
|
||||
|
||||
int coord = world.getLightBrightnessForSkyBlocks(x, y, z, 0);
|
||||
|
||||
int[] map = null;
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user