Skip to content

Commit

Permalink
Removed debug lines, argh
Browse files Browse the repository at this point in the history
  • Loading branch information
brainiac94 committed Jul 7, 2017
1 parent 36df770 commit 90b1b29
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1733,10 +1733,9 @@ public int getEnchantmentId() {
@Override
public boolean onFastScan(Player player, int level, boolean usedHand) {
if (player.isGliding() && player.getVelocity().length() >= 1) {
System.out.print(player.getVelocity().length());
for (Entity e : player.getNearbyEntities(2 + level, 3, 2 + level)) {
double damage = player.getVelocity().length() * 1.5 * level;
if (e instanceof LivingEntity) {
if (e instanceof Monster) {
ADAPTER.attackEntity((LivingEntity) e, player, power * damage);
}
}
Expand Down

0 comments on commit 90b1b29

Please sign in to comment.