Debug fixes

This commit is contained in:
Anuken
2019-12-26 08:01:24 -05:00
parent 8ac0949ddf
commit 1d6f769e3d
3 changed files with 3 additions and 2 deletions

View File

@ -337,6 +337,7 @@ public class BuildBlock extends Block{
}
public void setDeconstruct(Block previous){
if(previous == null) return;
this.previous = previous;
this.progress = 1f;
if(previous.buildCost >= 0.01f){

View File

@ -33,7 +33,7 @@ task run(dependsOn: classes, type: JavaExec){
}
if(args.contains("debug")){
main = "io.anuke.mindustry.DebugLauncher"
main = "mindustry.debug.DebugLauncher"
}
}

View File

@ -1,3 +1,3 @@
org.gradle.daemon=true
org.gradle.jvmargs=-Xms256m -Xmx1024m
archash=88c1a9afe2f5be4dd06e47ac8afe070247b3da29
archash=6e94de8eaa000725ad8f959009358cf010d6db01