Debug fixes
This commit is contained in:
@@ -337,6 +337,7 @@ public class BuildBlock extends Block{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setDeconstruct(Block previous){
|
public void setDeconstruct(Block previous){
|
||||||
|
if(previous == null) return;
|
||||||
this.previous = previous;
|
this.previous = previous;
|
||||||
this.progress = 1f;
|
this.progress = 1f;
|
||||||
if(previous.buildCost >= 0.01f){
|
if(previous.buildCost >= 0.01f){
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ task run(dependsOn: classes, type: JavaExec){
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(args.contains("debug")){
|
if(args.contains("debug")){
|
||||||
main = "io.anuke.mindustry.DebugLauncher"
|
main = "mindustry.debug.DebugLauncher"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||||
archash=88c1a9afe2f5be4dd06e47ac8afe070247b3da29
|
archash=6e94de8eaa000725ad8f959009358cf010d6db01
|
||||||
|
|||||||
Reference in New Issue
Block a user