Posted 02 April 2014 - 11:21 AM
Hello i am thomas15v and have some problem with the older version of computercraft (what is used in tekkit lite).
I am running a griefing server and have the problem that turtles grief bases. Well i really love turtles so i don't want to disable them. Well i am not asking for a patch or whatever. I mostly patch the mods on my own. But this mod is euh. Really hard to decompile –> recompile. I can't find most lua libs that are used causing me to stuck at 462 decompile errors where the missing LuaLibery class occurs the most.
The only thing i would like to change is this in dan200.turtle.shared.TurtleTool methode canBreakBlock.
(Look for the comment anotation)
If somebody could help me out i would appreciate that :)/>
(If this is a reason to ban me just ignore this post than :(/> )
I am running a griefing server and have the problem that turtles grief bases. Well i really love turtles so i don't want to disable them. Well i am not asking for a patch or whatever. I mostly patch the mods on my own. But this mod is euh. Really hard to decompile –> recompile. I can't find most lua libs that are used causing me to stuck at 462 decompile errors where the missing LuaLibery class occurs the most.
The only thing i would like to change is this in dan200.turtle.shared.TurtleTool methode canBreakBlock.
protected boolean canBreakBlock(World world, int x, int y, int z) {
int bid = world.getBlockId(x, y, z);
Block block = Block.blocksList[bid];
if (bid != 0 && (bid != Block.bedrock.blockID /*start new code*/ || bid != 231 || bid != 230 /*end new code*/ && block.getBlockHardness(world, x, y, z) > -1.0f) return true;
return false;
}
(Look for the comment anotation)
If somebody could help me out i would appreciate that :)/>
(If this is a reason to ban me just ignore this post than :(/> )