Skip to content

Commit 4c65c47

Browse files
committed
Fix possible NPE when loading render-manager state. Fixes #46
1 parent 53093a4 commit 4c65c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/RenderManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public void readState(DataInputStream in, Collection<MapType> mapTypes) throws I
265265
tiles.add(tile);
266266
}
267267

268-
createTickets(mapType, tiles);
268+
if (mapType != null) createTickets(mapType, tiles);
269269
}
270270

271271
//read tasks

0 commit comments

Comments
 (0)