Signs =(

Discussion in 'Plugin Development' started by joby890, Dec 7, 2012.

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

    joby890

    Well I'm working on something and I need to know whats on what Line of a Sign...

    Code:java
    1.  
    2. if (loc.getBlock().getType() == Material.WALL_SIGN) {
    3. Sign s = (Sign) loc.getBlock().getState();
    4. Integer j = CodCraftCaCPlayer.CaCBox.get(p.getName());
    5. log.info(s.getLine(0));
    6. log.info(s.getLine(1));
    7. log.info(s.getLine(2));
    8. log.info(s.getLine(3));
    9.  

    2012-12-07 16:05:57 [INFO]
    2012-12-07 16:05:57 [INFO]
    2012-12-07 16:05:57 [INFO]
    2012-12-07 16:05:57 [INFO]
    Is what come up in log

    Thanks
     
Thread Status:
Not open for further replies.

Share This Page