Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Release 7.40.3

### Bugs/Issues

* #740 Fixed scoreboard race conditions which could cause players to see a wrong scoreboard.

## Release 7.40.2

### Changes
Expand Down
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

group = "com.github.shynixn"
version = "7.40.2"
version = "7.40.3"

repositories {
mavenCentral()
Expand All @@ -30,11 +30,11 @@ dependencies {

// Custom dependencies
implementation("com.github.shynixn.shycommandsigns:shycommandsigns:1.5.1")
implementation("com.github.shynixn.shybossbar:shybossbar:1.7.2")
implementation("com.github.shynixn.shyscoreboard:shyscoreboard:1.13.2")
implementation("com.github.shynixn.shybossbar:shybossbar:1.7.3")
implementation("com.github.shynixn.shyscoreboard:shyscoreboard:1.13.4")
implementation("com.github.shynixn.shyparticles:shyparticles:1.3.1")
implementation("com.github.shynixn.shyguild:shyguild:1.1.1")
implementation("com.github.shynixn.mcutils:common:2026.7")
implementation("com.github.shynixn.mcutils:common:2026.9")
implementation("com.github.shynixn.mcutils:packet:2026.12")
implementation("com.github.shynixn.mcutils:worldguard:2026.1")
implementation("com.github.shynixn.mcutils:database:2026.3")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,13 @@ class ForceFieldServiceImpl : ForceFieldService {
private fun knockBackPlayer(forceField: ForceField, player: Player, modifier: Float) {
val playerData = playerForceFieldData[player] ?: return
val knockBack = forceField.center.toVector().subtract(player.location.toVector()).normalize().multiply(modifier)
player.velocity = knockBack
player.allowFlight = true
playerData.hasReceivedFlight = true
try {
player.velocity = knockBack
player.allowFlight = true
} catch (e: Exception) {
// Finite Vector Check
}
}

private fun checkInsideOutSide(player: Player, location: Vector3d, forceField: ForceField) {
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/lang/en_us.yml
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ shyScoreboardCommonErrorMessage:
text: "&0&l[&f&lBlockBall&0&l]&7&c A problem occurred. Check the console log for details."
shyScoreboardCommandSenderHasToBePlayer:
type: "CHAT"
text: "&0&l[&f&lBlockBall&0&l]&7 The command sender has to be a player if you do not specify the optional player argument."
text: ""
shyScoreboardCommandUsage:
type: "CHAT"
text: "[&9ShyScoreboard&f] Use /shyscoreboard help to see more info about the plugin."
Expand Down Expand Up @@ -547,7 +547,7 @@ shyBossBarCommonErrorMessage:
text: "&0&l[&f&lBlockBall&0&l]&7&c A problem occurred. Check the console log for details."
shyBossBarCommandSenderHasToBePlayer:
type: "CHAT"
text: "&0&l[&f&lBlockBall&0&l]&7 The command sender has to be a player if you do not specify the optional player argument."
text: ""
shyBossBarCommandUsage:
type: "CHAT"
text: "&0&l[&f&lBlockBall&0&l]&7 Use /blockballbossbar help to see more info about the plugin."
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin-1.17.0-1.21.11-folia.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: BlockBall
version: 7.40.2
version: 7.40.3
author: Shynixn
main: com.github.shynixn.blockball.BlockBallPlugin
softdepend: [ PlaceholderAPI, LuckPerms]
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin-1.17.0-1.21.11.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: BlockBall
version: 7.40.2
version: 7.40.3
author: Shynixn
main: com.github.shynixn.blockball.BlockBallPlugin
softdepend: [ PlaceholderAPI, LuckPerms]
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin-1.8.8-1.16.5.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: BlockBall
version: 7.40.2
version: 7.40.3
author: Shynixn
main: com.github.shynixn.blockball.BlockBallPlugin
softdepend: [ PlaceholderAPI, LuckPerms]
2 changes: 1 addition & 1 deletion src/main/resources/plugin-26.1.0-latest-folia.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: BlockBall
version: 7.40.2
version: 7.40.3
author: Shynixn
main: com.github.shynixn.blockball.BlockBallPlugin
softdepend: [ PlaceholderAPI, LuckPerms]
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin-26.1.0-latest.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: BlockBall
version: 7.40.2
version: 7.40.3
author: Shynixn
main: com.github.shynixn.blockball.BlockBallPlugin
softdepend: [ PlaceholderAPI, LuckPerms]
Expand Down
Loading