satoshinm / NetCraft

Web-based fork of fogleman/Craft ⛺
https://satoshinm.github.io/NetCraft/
MIT License
57 stars 13 forks source link

Cloud block shows mining progress but is indestructable #133

Closed satoshinm closed 7 years ago

satoshinm commented 7 years ago

screenshot-netcraft-2017-05-17t03_40_38 752z

satoshinm commented 7 years ago

The reason why it doesn't destruct is this in src/item.c:

bool is_destructable(int w) {
    switch (w) {
        case EMPTY:
        case CLOUD:
            return false;
        default:
            return true;
    }
}

Remove is_destructable now that there is the hardness property, and it can return INFINITY?