/*    */ package com.gildorymrp.gildorymclasses;
/*    */ 
/*    */ import org.bukkit.entity.HumanEntity;
/*    */ import org.bukkit.entity.Player;
/*    */ import org.bukkit.event.EventHandler;
/*    */ import org.bukkit.event.Listener;
/*    */ import org.bukkit.event.entity.EntityDamageEvent;
/*    */ import org.bukkit.event.entity.EntityDamageEvent.DamageCause;
/*    */ 
/*    */ public class EntityDamageListener
/*    */   implements Listener
/*    */ {
/*    */   @EventHandler
/*    */   public void onEntityDamage(EntityDamageEvent event)
/*    */   {
/* 14 */     if (((event.getEntity() instanceof Player)) && 
/* 15 */       ((event.getCause() == EntityDamageEvent.DamageCause.ENTITY_ATTACK) || (event.getCause() == EntityDamageEvent.DamageCause.PROJECTILE)) && 
/* 16 */       (((HumanEntity)event.getEntity()).isBlocking()))
/* 17 */       event.setCancelled(true);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator.Banditt-PC\Desktop\Coding\Server\plugins\GildorymClasses.jar
 * Qualified Name:     com.gildorymrp.gildorymclasses.EntityDamageListener
 * JD-Core Version:    0.6.2
 */
@@ -1,17 +1,8 @@
-/*    */ 
 package 
@@ -33,35 +33,17 @@
 lasses;%0A
-/*    */ %0A/*    */ 
+%0A
 import o
@@ -72,25 +72,16 @@
 Entity;%0A
-/*    */ 
 import o
@@ -101,33 +101,24 @@
 ity.Player;%0A
-/*    */ 
 import org.b
@@ -139,33 +139,24 @@
 entHandler;%0A
-/*    */ 
 import org.b
@@ -177,25 +177,16 @@
 stener;%0A
-/*    */ 
 import o
@@ -227,25 +227,16 @@
 eEvent;%0A
-/*    */ 
 import o
@@ -293,27 +293,9 @@
 se;%0A
-/*    */ %0A/*    */ 
+%0A
 publ
@@ -323,27 +323,16 @@
 Listener
-%0A/*    */  
  impleme
@@ -347,29 +347,11 @@
 ener
-%0A/*    */ %7B%0A/*    */ 
+%7B%0A%0A
   @E
@@ -362,25 +362,16 @@
 Handler%0A
-/*    */ 
   public
@@ -419,31 +419,10 @@
 ent)
+%7B
 %0A
-/*    */   %7B%0A/* 14 */ 
     
@@ -472,24 +472,8 @@
  && 
-%0A/* 15 */       
 ((ev
@@ -609,24 +609,8 @@
  && 
-%0A/* 16 */       
 (((H
@@ -657,18 +657,10 @@
 ()))
+%7B
 %0A
-/* 17 */ 
     
@@ -691,243 +691,19 @@
 e);%0A
-/*
     
-*/   %7D%0A/*    */ %7D%0A%0A/* Location:           C:%5CUsers%5CAdministrator.Banditt-PC%5CDesktop%5CCoding%5CServer%5Cplugins%5CGildorymClasses.jar%0A * Qualified Name:     com.gildorymrp.gildorymclasses.EntityDamageListener%0A * JD-Core Version:    0.6.2%0A */
+%7D%0A  %7D%0A  %0A%7D%0A

Update EntityDamageListener.java