This commit is contained in:
Anuken
2022-05-08 13:54:48 -04:00
parent 1733381cf2
commit 78b74d01cb

View File

@@ -621,7 +621,7 @@ public class Block extends UnlockableContent implements Senseable{
public boolean canReplace(Block other){
if(other.alwaysReplace) return true;
return other.replaceable && (other != this || rotate) && this.group != BlockGroup.none && other.group == this.group &&
return other.replaceable && (other != this || (rotate && quickRotate)) && this.group != BlockGroup.none && other.group == this.group &&
(size == other.size || (size >= other.size && ((subclass != null && subclass == other.subclass) || group.anyReplace)));
}