Skip to content

Commit

Permalink
Copy-pasta, my old friend, we meet again.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnuecke committed Sep 19, 2015
1 parent 772e98b commit 6a6adfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/li/cil/oc/common/IMC.scala
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ object IMC {
}
else if (message.key == "registerWrenchToolCheck" && message.isStringMessage) {
OpenComputers.log.info(s"Registering new wrench tool check '${message.getStringValue}' from mod ${message.getSender}.")
try Wrench.addUsage(getStaticMethod(message.getStringValue, classOf[ItemStack])) catch {
try Wrench.addCheck(getStaticMethod(message.getStringValue, classOf[ItemStack])) catch {
case t: Throwable => OpenComputers.log.warn("Failed registering wrench check.", t)
}
}
Expand Down

0 comments on commit 6a6adfd

Please sign in to comment.