.

Discussion in 'Plugin Development' started by elementalgodz11, Dec 6, 2013.

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

    elementalgodz11

  2. Offline

    Wolfey

    Put this in your code:
    Code:java
    1.  
    2. Location to = e.getTo();
    3. Location from = e.getFrom();
    4. if(to.getBlockX() != from.getBlockX() || to.getBlockY() != from.getBlockY() || to.getBlockZ() != from.getBlockZ()) {
    5. // stuff
    6. }
    7.  
     
Thread Status:
Not open for further replies.

Share This Page