Get blocks ids from config and use them

Discussion in 'Plugin Development' started by bramhaag, Mar 7, 2014.

Thread Status:
Not open for further replies.
  1. Hi all,

    I want to get some ids from blocks from the config and use them in a BlockBreakEvent, like for a blacklist or something.

    My question is, how do i do this?

    Cheerz,

    bramhaag
     
  2. yourBlock.setType(Material.matchMaterial(plugin.getConfig().getString("block)));
     
Thread Status:
Not open for further replies.

Share This Page