AlexModGuy / Rats

The Rats Mod for Minecraft
https://minecraft.curseforge.com/projects/rats
GNU Lesser General Public License v3.0
66 stars 49 forks source link

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

Open AdamMEI opened 2 weeks ago

AdamMEI commented 2 weeks ago

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.