No compatible nms block class found???

Discussion in 'Plugin Development' started by ksbdude, Feb 23, 2014.

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

    ksbdude

    When ever I click on one of my minigame Signs I get this error in console.
    "WARN No compatible nms block class found"
    What does it mean?
    Here is some of my sign code if this helps
    Code:java
    1. @EventHandler
    2. public void onRightClick(PlayerInteractEvent e) {
    3. Action a = e.getAction();
    4. if (a.equals(Action.RIGHT_CLICK_BLOCK)) {
    5. if (b.equals(Material.SIGN) || b.equals(Material.SIGN_POST)
    6. || b.equals(Material.WALL_SIGN)) {
    7. Location l = e.getClickedBlock().getLocation();
    8. Sign s = (Sign) l.getBlock().getState();
    9. if (s.getLine(1).equalsIgnoreCase(ChatColor.DARK_GREEN + "SHOP")) {
    10. e.getPlayer().openInventory(shop);
    11. }
    12. }
    13. }
    14. }
     
  2. ksbdude
    Sounds like a WorldEdit warning, not an error. Shouldn't affect your plugin in any way.
     
  3. Offline

    CubieX

    Jup. This has nothing to do with your plugin. WorldEdit emits this warning upon first interaction with block after server start, if the version of WE is not build to work with the given version of NMS in this bukkit build.
    It's because the newest stable version of WE is for CB 1.6.4 and therefore the paths to the NMS classes have changed in CB 1.7.2.
    It only means that WE cannot use it's full potential.
     
Thread Status:
Not open for further replies.

Share This Page