Drill message fix

This commit is contained in:
Anuken
2022-01-12 23:08:35 -05:00
parent 0f6f85887e
commit 4385cb8a88
2 changed files with 2 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ public class Drill extends Block{
Draw.color(); Draw.color();
} }
}else{ }else{
Tile to = tile.getLinkedTilesAs(this, tempTiles).find(t -> t.drop() != null && t.drop().hardness > tier && t.drop() != blockedItem); Tile to = tile.getLinkedTilesAs(this, tempTiles).find(t -> t.drop() != null && (t.drop().hardness > tier || t.drop() == blockedItem));
Item item = to == null ? null : to.drop(); Item item = to == null ? null : to.drop();
if(item != null){ if(item != null){
drawPlaceText(Core.bundle.get("bar.drilltierreq"), x, y, valid); drawPlaceText(Core.bundle.get("bar.drilltierreq"), x, y, valid);

View File

@@ -24,4 +24,4 @@ android.useAndroidX=true
#used for slow jitpack builds; TODO see if this actually works #used for slow jitpack builds; TODO see if this actually works
org.gradle.internal.http.socketTimeout=100000 org.gradle.internal.http.socketTimeout=100000
org.gradle.internal.http.connectionTimeout=100000 org.gradle.internal.http.connectionTimeout=100000
archash=368ccbfa7e archash=e1de8b18f7