mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 14:38:50 +00:00
Fix NPE with roundAlphaBuffer
This commit is contained in:
1 parent
bc66ebfe5f
commit
19678b2f83
1 file changed
+3
-1
@@ -88,7 +88,9 @@ public abstract class MixinLevelRenderer {
|
||||
|
||||
@Inject(method = "close", at = @At("HEAD"))
|
||||
public void close(CallbackInfo ci) {
|
||||
this.roundAlphaBuffer.destroyBuffers();
|
||||
if (this.roundAlphaBuffer != null) {
|
||||
this.roundAlphaBuffer.destroyBuffers();
|
||||
}
|
||||
}
|
||||
|
||||
@Inject(method = "renderSectionLayer", at = @At("HEAD"), cancellable = true, require = 0)
|
||||
|
||||
Reference in new issue
Block a user