Rats

Rats

14M Downloads

Time Manipu-Rat-or works in 4x3x4 not 5x3x5

AdamMEI opened this issue ยท 0 comments

commented

Edit: Title should say 4x2x4 not 4x3x4

A rat with the Time Manipu-Rat-or should affect blocks in a 5x3x5 area (according to the description), but it only works in a 4x2x4 range. Here is the relevant source code from the TimeManipuRatorUpgradeItem.java file:

for (int x = -2; x < 2; x++) {
    for (int z = -2; z < 2; z++) {
        for (int y = -1; y < 1; y++) {
            ...
        }
    }
}

I think it should be <= 2 or < 3 instead of < 2 for x and z, and <= 1 or < 2 instead of < 1 for y.