Implemented public submodules

This commit is contained in:
Anuken
2018-10-08 09:41:01 -04:00
parent fadfdaa673
commit 9994ddb31b
25 changed files with 58 additions and 123 deletions

View File

@@ -168,7 +168,7 @@ public class Saves{
threads.runGraphics(() -> {
//Renderer fog needs to be written on graphics thread, but save() can run on logic thread
//thus, runGraphics is required here
renderer.fog().writeFog();
renderer.fog.writeFog();
//save on the logic thread
threads.run(() -> {

View File

@@ -41,7 +41,7 @@ public abstract class UnlockableContent extends MappableContent{
return true;
}else{
for(UnlockableContent cont : depend){
if(!control.unlocks().isUnlocked(cont)){
if(!control.unlocks.isUnlocked(cont)){
return false;
}
}