mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-26 14:35:04 -04:00
Fixed robots derping around with tools. Seems I only tested them *without* tools recently... go me -.-
Updated Forge dependency info in mcmod.info.
This commit is contained in:
parent
b5b038aa5b
commit
90279bc2a4
@ -5,10 +5,10 @@
|
|||||||
"version": "${version}",
|
"version": "${version}",
|
||||||
"mcversion": "${mcversion}",
|
"mcversion": "${mcversion}",
|
||||||
"url": "https://github.com/MightyPirates/OpenComputers/wiki",
|
"url": "https://github.com/MightyPirates/OpenComputers/wiki",
|
||||||
"authorList": ["Florian 'Sangar' Nücke", "Johannes 'Lord Joda' Lohrer", "Everyone who contributed to the mod on Github - thank you!"],
|
"authorList": ["Florian 'Sangar' Nücke", "Johannes 'Lord Joda' Lohrer", "Everyone who contributed to the mod on Github - thank you!"],
|
||||||
"credits" : "Inspired by a couple of other mods, most notably ComputerCraft.",
|
"credits" : "Inspired by a couple of other mods, most notably ComputerCraft.",
|
||||||
"logoFile" : "assets/opencomputers/textures/gui/logo.png",
|
"logoFile" : "assets/opencomputers/textures/gui/logo.png",
|
||||||
"requiredMods": [ "Forge@[10.12.0.1024,)" ],
|
"requiredMods": [ "Forge@[10.12.1.1060,)" ],
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"BuildCraft|Energy",
|
"BuildCraft|Energy",
|
||||||
"ComputerCraft",
|
"ComputerCraft",
|
||||||
|
@ -271,7 +271,7 @@ class Player(val robot: tileentity.Robot) extends EntityPlayer(robot.world, Play
|
|||||||
}
|
}
|
||||||
|
|
||||||
val hardness = block.getBlockHardness(world, x, y, z)
|
val hardness = block.getBlockHardness(world, x, y, z)
|
||||||
val strength = getBreakSpeed(block, false, x, y, z, metadata)
|
val strength = getBreakSpeed(block, false, metadata, x, y, z)
|
||||||
val breakTime =
|
val breakTime =
|
||||||
if (cobwebOverride) Settings.get.swingDelay
|
if (cobwebOverride) Settings.get.swingDelay
|
||||||
else hardness * 1.5 / strength
|
else hardness * 1.5 / strength
|
||||||
|
Loading…
x
Reference in New Issue
Block a user