Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ProtectionRegenTask task = new ProtectionRegenTask(this.mplugin.getInstance().getTowny(), event.getBlock(), true);
- TownyRegenAPI.addProtectionRegenTask(task);
- BlockLocation bl = new BlockLocation(event.getBlock().getLocation());
- if(bl.equals(task.getBlockLocation())){
- event.getPlayer().sendMessage("These are the same");
- }else{
- System.out.println(bl);
- System.out.println(task.getBlockLocation());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement