Reduce strength of doublejump & jumpad (and change jumpad material)

This commit is contained in:
2025-04-20 23:02:19 -07:00
parent bc50977a33
commit d91ae8be1a
2 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ class PlayerMoveListener(val plugin: GalaxyLobbyPlugin) : Listener {
if (currentTime - lastActivation < 1000) return
}
if (playerBlock.type === Material.CHERRY_PRESSURE_PLATE) {
if (playerBlock.type === Material.MANGROVE_PRESSURE_PLATE) {
plugin.jumpPadCooldowns.put(playerId, currentTime)
if (player.gameMode == GameMode.ADVENTURE && player.inventory.heldItemSlot == 7) {
@@ -69,7 +69,7 @@ class PlayerMoveListener(val plugin: GalaxyLobbyPlugin) : Listener {
}, 40)
return
}
player.velocity = Vector(0.0, 1.0, 3.5)
player.velocity = Vector(0.0, 0.75, 1.5)
player.playSound(player.location, Sound.ENTITY_BAT_TAKEOFF, 1.0f, 1.0f)
}
}

View File

@@ -17,7 +17,7 @@ class PlayerToggleFlightListener : Listener {
event.isCancelled = true
player.allowFlight = false
direction.multiply(2.5f)
direction.multiply(1.25f)
direction.setY(1)
player.velocity = direction
player.playSound(player.location, Sound.ENTITY_ENDER_DRAGON_FLAP, 1.0f, 1.0f)