mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-02 17:12:58 -04:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user