Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @EventHandler(priority = EventPriority.HIGHEST)
- public void onBlockFromToEvent(BlockFromToEvent event){
- // should not need to check for stationary water..
- if (event.getToBlock().getType().equals(Material.WATER))
- {
- event.setCancelled(true);
- logger.info("Water flowed");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement