1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

Update src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/weapons/IcyBow.java

Co-authored-by: Daniel Walsh <walshydev@gmail.com>
This commit is contained in:
EpicPlayerA10 2021-06-18 17:24:17 +02:00 committed by GitHub
parent e14c63ce76
commit fe9cdb3a77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,8 +44,8 @@ public class IcyBow extends SlimefunBow {
return;
}
if(SlimefunPlugin.getMinecraftVersion().isAtLeast(MinecraftVersion.MINECRAFT_1_17)){
p.setFreezeTicks(30 * 2);
if (SlimefunPlugin.getMinecraftVersion().isAtLeast(MinecraftVersion.MINECRAFT_1_17)) {
p.setFreezeTicks(60);
}
}
n.getWorld().playEffect(n.getLocation(), Effect.STEP_SOUND, Material.ICE);