title: Bukkit PlayerDeathEvent
body: <p>why isn't this working? I don't get any response if I've been killed! So as you can see I have tested multiple ways. But no one is working. </p>
  
  <pre><code>package net.gameforce.testing;
  import org.bukkit.Bukkit;
  import org.bukkit.entity.Player;
  import org.bukkit.event.EventHandler;
  import org.bukkit.event.Listener;
  import org.bukkit.event.entity.PlayerDeathEvent;
  import org.bukkit.event.player.PlayerInteractEvent;
  import org.bukkit.plugin.java.JavaPlugin;
  
  
  
  
  
  
  public class Main extends JavaPlugin implements Listener {
  
  
  @Override
  public void onEnable() {
      getServer().getPluginManager().registerEvents(this,this);
      getLogger().info("Testing Plugin Started");
  }
  
  public void onDisable() {}
  
  @EventHandler
  public void onPlayerInteract(PlayerInteractEvent event){
      Bukkit.broadcastMessage("test");
      event.getPlayer().setExp(100);
  }
  public void onPlayerDeath (PlayerDeathEvent event){
      Bukkit.broadcastMessage("send");
      event.getEntity().getPlayer().setExp(1000);
  }
  
  public boolean onDeath (PlayerDeathEvent event) {
      Player Player = event.getEntity();
      Bukkit.broadcastMessage(Player.getKiller().getDisplayName() + ", has killed you!");
      if (Player.getKiller() != null) {
          Bukkit.broadcastMessage("No Player");
      }
      else {
          Bukkit.broadcastMessage("IDK");
      }
  
  
      return true;
  }
  }
  </code></pre>
  
  <p>Have I done something wrong?  </p>