Preventing farmland from drying out

Discussion in 'Plugin Development' started by Snipey, Dec 4, 2013.

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

    Snipey

    so im trying to make a plugin where farmland does not dry out when there is no water around it, and im cancelling the BlockFadeEvent and its not stopping it from turning it back to dirt. am i cancelling the wrong event or is there no way to do this.
     
  2. Offline

    RealDope

    You want to prevent it from becoming dry farmland or prevent it from becoming dirt?
    Code:JAVA
    1.  
    2. @EventHandler
    3. public void event(Event event) {
    4. System.out.println(event.getEventName());
    5. }
    6.  

    Watch ingame as the event happens, then check console to see the name of the event it uses.
     
  3. Offline

    Snipey

    I tried that and no event fired and printed to console
     
Thread Status:
Not open for further replies.

Share This Page