Code:java @EventHandlerpublic void onPlayerMove(PlayerMoveEvent e) {Player p = e.getPlayer(); if (p.getLocation().getBlock().getType() == Material.WATER|| (p.getLocation().getBlock().getType() == Material.STATIONARY_WATER)) {p.setHealth(0);}} I believe this should work, going to test it now. EDIT: It works, but it spams (player has died) like 7 times for some reaosn.