Fixed compolation on older mc versions

This commit is contained in:
coolGi
2023-11-03 23:20:26 +10:30
parent 04ee9d58bc
commit 8a882d7bf4
4 changed files with 8 additions and 4 deletions
@@ -29,7 +29,7 @@ public class MixinLightmap
// since the light map is always updated on the client render thread we should be able to access the client level at the same time
IMinecraftClientWrapper mc = SingletonInjector.INSTANCE.get(IMinecraftClientWrapper.class);
if (
mc == null &&
mc == null ||
mc.getWrappedClientLevel() == null
)
return;