Fixed editor crash

This commit is contained in:
Anuken
2020-06-07 13:28:22 -04:00
parent 9574f742e1
commit 8993c1db04
8 changed files with 5 additions and 5 deletions

View File

@@ -37,6 +37,8 @@ public class MapRenderer implements Disposable{
}
public void resize(int width, int height){
updates.clear();
delayedUpdates.clear();
if(chunks != null){
for(int x = 0; x < chunks.length; x++){
for(int y = 0; y < chunks[0].length; y++){