Attempt to prevent a NPE when MC renders a lot of things at once.
This commit is contained in:
parent
4e45156eaf
commit
aab5b04a6d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue