Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @EventHandler
- public void onEntityDamageByEntity(EntityDamageByEntityEvent event){
- Entity damager = event.getDamager();
- if(damager instanceof Player && !HungerGames.players.contains(damager))
- event.setCancelled(true);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement