Cleanup comments, formatting, etc

This commit is contained in:
Travis Watkins committed 2013-03-25 00:51:36 -05:00
1 parent 7c40a073d8
commit 5f089137ee
148 files changed
+420 -470

No files matched your search

@@ -231,7 +231,7 @@ public class EntityArrow extends Entity implements IProjectile {
damagesource = DamageSource.arrow(this, this.shooter);
}
// CraftBukkit start - moved damage call
// CraftBukkit start - Moved damage call
if (movingobjectposition.entity.damageEntity(damagesource, i1)) {
if (this.isBurning() && !(movingobjectposition.entity instanceof EntityEnderman) && (!(movingobjectposition.entity instanceof EntityPlayer) || !(this.shooter instanceof EntityPlayer) || this.world.pvpMode)) { // CraftBukkit - abide by pvp setting if destination is a player
EntityCombustByEntityEvent combustEvent = new EntityCombustByEntityEvent(this.getBukkitEntity(), entity.getBukkitEntity(), 5);