mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-28 07:55:45 +00:00
Fixed the Kekimurus eating only from the south east. Closes #91
This commit is contained in:
1 parent
a2120d5731
commit
0a1e306421
1 file changed
+3
-3
@@ -30,9 +30,9 @@ public class SubTileKekimurus extends SubTileGenerating {
|
||||
for(int i = 0; i < range * 2 + 1; i++)
|
||||
for(int j = 0; j < range * 2 + 1; j++)
|
||||
for(int k = 0; k < range * 2 + 1; k++) {
|
||||
int x = supertile.xCoord + i;
|
||||
int y = supertile.yCoord + j;
|
||||
int z = supertile.zCoord + k;
|
||||
int x = supertile.xCoord + i - range;
|
||||
int y = supertile.yCoord + k - range;
|
||||
int z = supertile.zCoord + k - range;
|
||||
Block block = supertile.getWorldObj().getBlock(x, y, z);
|
||||
if(block instanceof BlockCake) {
|
||||
int meta = supertile.getWorldObj().getBlockMetadata(x, y, z) + 1;
|
||||
|
||||
Reference in new issue
Block a user