new BattlegearAnimationPacket(animation, entityPlayer).generatePacket());
}
}
@Override
public void startFlash(EntityPlayer player, float damage) {
<BUG>if(player.getCommandSenderName().equals(Minecraft.getMinecraft().thePlayer.getCommandSenderName())){
BattlegearClientTickHandeler.resetFlash();</BUG>
ItemStack offhand = ((InventoryPlayerBattle)player.inventory).getCurrentOffhandWeapon();
if(offhand != null && offhand.getItem() instanceof IShield)
BattlegearClientTickHandeler.reduceBlockTime(((IShield) offhand.getItem()).getDamageDecayRate(offhand, damage));

new BattlegearAnimationPacket(animation, entityPlayer).generatePacket());
}
}
@Override
public void startFlash(EntityPlayer player, float damage) {
if(player.getName().equals(Minecraft.getMinecraft().thePlayer.getName())){
BattlegearClientTickHandeler.resetFlash();
ItemStack offhand = ((InventoryPlayerBattle)player.inventory).getCurrentOffhandWeapon();
if(offhand != null && offhand.getItem() instanceof IShield)
BattlegearClientTickHandeler.reduceBlockTime(((IShield) offhand.getItem()).getDamageDecayRate(offhand, damage));
