Moved block types into subpackages

This commit is contained in:
Anuken
2017-10-22 21:58:05 -04:00
parent 70693ffdd3
commit 41720e2e3f
39 changed files with 386 additions and 257 deletions

View File

@@ -32,9 +32,6 @@ public class Mindustry extends ModuleCore {
@Override
public void init(){
//if(Vars.debug){
GLProfiler.enable();
//}
//always initialize blocks in this order, otherwise there are ID errors
Blocks.dirt.getClass();
ProductionBlocks.coaldrill.getClass();
@@ -48,6 +45,9 @@ public class Mindustry extends ModuleCore {
@Override
public void postInit(){
if(Vars.debug && Vars.debugGL){
GLProfiler.enable();
}
Vars.control.reset();
}