mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-25 14:44:28 +00:00
fix some of iris problems (#183)
This commit is contained in:
1 parent
c211d90faf
commit
84e1fa284b
4 files changed
+7
-9
No files matched your search
@@ -52,7 +52,11 @@ public class ProgramUniforms {
|
||||
}
|
||||
|
||||
private static long getCurrentTick() {
|
||||
return Objects.requireNonNull(Minecraft.getMinecraft().theWorld).getWorldTime();
|
||||
if (Minecraft.getMinecraft().theWorld != null) {
|
||||
return Minecraft.getMinecraft().theWorld.getWorldTime();
|
||||
} else {
|
||||
return 0L;
|
||||
}
|
||||
}
|
||||
|
||||
public void update() {
|
||||
|
||||
Reference in new issue
Block a user