Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. ProtectionRegenTask task = new ProtectionRegenTask(this.mplugin.getInstance().getTowny(), event.getBlock(), true);
  2. TownyRegenAPI.addProtectionRegenTask(task);
  3. BlockLocation bl = new BlockLocation(event.getBlock().getLocation());
  4. if(bl.equals(task.getBlockLocation())){
  5. event.getPlayer().sendMessage("These are the same");
  6. }else{
  7. System.out.println(bl);
  8. System.out.println(task.getBlockLocation());
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement