Skip to content

Commit 5df293f

Browse files
authored
Merge pull request #31 from SLNE-Development/trello/tp-falsch-punch-sound-pushback-laggy
Trello/tp falsch punch sound pushback laggy
2 parents 1d4d332 + 47f7ea9 commit 5df293f

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/kotlin/dev/slne/surf/lobby/config/LobbyConfig.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ data class LobbyConfig(
3030
companion object {
3131
fun default() = LocationConfig(
3232
world = "world",
33-
x = 0.0,
33+
x = 0.5,
3434
y = 100.0,
35-
z = 0.0,
35+
z = 0.5,
3636
yaw = 0.0f,
3737
pitch = 0.0f
3838
)

src/main/kotlin/dev/slne/surf/lobby/listener/PushbackListener.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ object PushbackListener : Listener {
3030

3131
player.playSound(true) {
3232
type(Sound.ENTITY_PLAYER_ATTACK_CRIT)
33-
volume(0.5f)
33+
volume(0.2f)
3434
}
3535
}
3636
}

src/main/kotlin/dev/slne/surf/lobby/manager/PushbackManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ object PushbackManager {
3030

3131
player.world.playEffect(player.location, Effect.ENDER_SIGNAL, null)
3232
}
33-
}, 20, 20)
33+
}, 10, 10)
3434
}
3535

3636
fun add(uuid: UUID) {

0 commit comments

Comments
 (0)