Skip to content

Commit

Permalink
Merge pull request #35 from Grzybol/zephyr-fix2
Browse files Browse the repository at this point in the history
Zephyr fix2
  • Loading branch information
Grzybol authored Apr 4, 2024
2 parents 9ed07bf + 7e4d201 commit c833de3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>betterbox.mine.game</groupId>
<artifactId>BetterElo</artifactId>
<version>4.0.4-SNAPSHOT</version>
<version>4.0.5-SNAPSHOT</version>
<packaging>jar</packaging>

<name>BetterElo</name>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/betterbox/mine/game/betterelo/Event.java
Original file line number Diff line number Diff line change
Expand Up @@ -603,8 +603,8 @@ private static void launchFireworkEffect(Player player) {
player.getWorld().playSound(location, Sound.ENTITY_FIREWORK_ROCKET_LAUNCH,SoundCategory.AMBIENT, 1.0f, 1.0f);
}
private static void applyBoosterEffect(Player player,int power) {
// Zastosowanie efektu przyspieszenia (booster effect) dla gracza
Vector velocity = player.getLocation().getDirection().multiply(power); // Przykładowa prędkość (można dostosować)

Vector velocity = player.getLocation().getDirection().multiply(power);
player.setVelocity(velocity);
}
public boolean hasElytraLore(ItemStack itemStack) {
Expand Down

0 comments on commit c833de3

Please sign in to comment.