Lol how did it compile without the @Override

This commit is contained in:
Leonwang4234
2020-11-26 23:33:18 -08:00
parent ced6369b25
commit ab8a381ad9

View File

@@ -23,6 +23,7 @@ public class Router extends Block{
noUpdateDisabled = true; noUpdateDisabled = true;
} }
@Override
public boolean canReplace(Block other){ public boolean canReplace(Block other){
if(other.alwaysReplace) return true; if(other.alwaysReplace) return true;
return (other != this || rotate) && this.group != BlockGroup.none && other.group == this.group; return (other != this || rotate) && this.group != BlockGroup.none && other.group == this.group;