Skip to content

Commit

Permalink
Fix a tag, remove old comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Feb 23, 2016
1 parent f311066 commit 006110f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Expand Up @@ -204,8 +204,6 @@ public void onEntityDeath(EntityDeathEvent event) {
player = entity.getDenizenPlayer();
}

// If this entity has a stored killer, get it and then
// remove it from the entityKillers map
damager = null;
EntityDamageEvent lastDamage = entity.getBukkitEntity().getLastDamageCause();
if (lastDamage != null) {
Expand Down
Expand Up @@ -864,7 +864,7 @@ else if (type == Material.TRAP_DOOR
attribute = attribute.fulfill(1);
}
dList list = new dList();
org.bukkit.util.Vector rel = this.toVector().subtract(target.toVector());
org.bukkit.util.Vector rel = target.toVector().subtract(this.toVector());
double len = rel.length();
rel = rel.multiply(1d / len);
for (double i = 0d; i < len; i += rad) {
Expand Down

0 comments on commit 006110f

Please sign in to comment.