mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 11:59:25 +00:00
Attempt to prevent a NPE when MC renders a lot of things at once.
This commit is contained in:
1 parent
4e45156eaf
commit
aab5b04a6d
1 file changed
+2
-2
@@ -89,8 +89,8 @@
|
||||
|
||||
+ if (rawBufferSize > 0x20000 && field_147569_p < (rawBufferSize << 3))
|
||||
+ {
|
||||
+ rawBufferSize = 0;
|
||||
+ rawBuffer = null;
|
||||
+ rawBufferSize = 0x10000;
|
||||
+ rawBuffer = new int[rawBufferSize];
|
||||
+ }
|
||||
+
|
||||
int i = this.field_147569_p * 4;
|
||||
|
||||
Reference in new issue
Block a user