Fixed #2131
This commit is contained in:
@@ -280,12 +280,14 @@ public class Drill extends Block{
|
||||
return;
|
||||
}
|
||||
|
||||
if(dominantItems > 0 && progress >= drillTime + hardnessDrillMultiplier * dominantItem.hardness && items.total() < itemCapacity){
|
||||
float delay = drillTime + hardnessDrillMultiplier * dominantItem.hardness;
|
||||
|
||||
if(dominantItems > 0 && progress >= delay && items.total() < itemCapacity){
|
||||
offload(dominantItem);
|
||||
useContent(dominantItem);
|
||||
|
||||
index++;
|
||||
progress = 0f;
|
||||
index ++;
|
||||
progress %= delay;
|
||||
|
||||
drillEffect.at(getX() + Mathf.range(size), getY() + Mathf.range(size), dominantItem.color);
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=713b7e105ae8dde696c1ee8e25b4cc257ca1bf04
|
||||
archash=8ae9a1cd46776f886d41b483c331e38c9ca96bcf
|
||||
|
||||
Reference in New Issue
Block a user