How to get the maxmimum durability of a tool?

Discussion in 'Plugin Development' started by waflija, Jul 2, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    waflija

    Thanks in advance.
     
  2. Offline

    nisovin

  3. Offline

    Jaker232

  4. Offline

    waflija

    But I don't like to hard-code that. If it is changed my plugin still has the wrong values... Is there a "in-code" way to get it?

    right. doesn't have to be an event. may be a method like "getMaxDurability" or so...
     
  5. Offline

    nisovin

    I know what you were looking for. It's not in the Bukkit API. That's why I told you to use the wiki.
     
  6. Offline

    desmin88

    @nisovin
    It's not in the bukkit API, but it is in n.m.s
     
Thread Status:
Not open for further replies.

Share This Page