some bug fixes, updated engine with support for new .trn versions, refactored some code with new Java 8 syntax, changed compiler to java 8

This commit is contained in:
Light2
2014-03-25 20:08:01 +01:00
parent 0742c19af3
commit 3e265ed6c5
23 changed files with 476 additions and 361 deletions
+2 -1
View File
@@ -226,7 +226,8 @@ public class TerrainService {
// wait for threads to finish loading
for(Planet planet : planets) {
try {
threadMap.get(planet).join();
if(threadMap.get(planet) != null)
threadMap.get(planet).join();
} catch (InterruptedException e) {
e.printStackTrace();
}