Skip to content

Commit

Permalink
Add a freeze effect on the icy bow
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicPlayerA10 committed Jun 18, 2021
1 parent 55d8d9f commit 31d0589
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ public BowShootHandler onShoot() {
if (p.isBlocking() && e.getFinalDamage() <= 0) {
return;
}

if(SlimefunPlugin.getMinecraftVersion().isAtLeast(MinecraftVersion.MINECRAFT_1_17)){
p.setFreezeTicks(30 * 2);
}
}
n.getWorld().playEffect(n.getLocation(), Effect.STEP_SOUND, Material.ICE);
n.getWorld().playEffect(n.getEyeLocation(), Effect.STEP_SOUND, Material.ICE);
Expand Down

0 comments on commit 31d0589

Please sign in to comment.