Gregtech++ [GT++] [GTplusplus]

Gregtech++ [GT++] [GTplusplus]

94.1k Downloads

3x3 pickaxe mines a 5x5 area when looking down.

MaxineBean opened this issue ยท 1 comments

commented

Title says it all. I could not remember the name of the item, sorry about that.

commented
if (FACING.equals("below") || FACING.equals("above")){
                DURABILITY_LOSS = 0;


for(int i = -2; i < 3; i++) {
        for(int j = -2; j < 3; j++) {
                        float dur = calculateDurabilityLoss(world, X + i, Y, Z + j);
                        DURABILITY_LOSS = (DURABILITY_LOSS + calculateDurabilityLoss(world, X + i, Y, Z + j));  
                        Utils.LOG_WARNING("Added Loss: "+dur);
                        removeBlockAndDropAsItem(world, X + i, Y, Z + j, heldItem);
                }
            }
    }  

Alright, I uhh, fixed this.