Fix flag particle spawn location during turn-in

Updated the particle spawning method to use the flag's turn-in location instead of the world border center. This ensures particles are correctly displayed at the intended location, aligning with gameplay expectations.
This commit is contained in:
Teriuihi 2025-02-11 21:46:44 +01:00
parent 9563e9641f
commit 4cfc8f1572
2 changed files with 3 additions and 3 deletions

View File

@ -195,7 +195,7 @@ public class Flag implements Runnable {
location.setY(location.getY() + 1);
particleTrail.add(location);
spawnTrail();
spawnParticlesOnSquareBorder(winningTeam.getWorldBorderCenter(), GameConfig.FLAG.TURN_IN_RADIUS);
spawnParticlesOnSquareBorder(winningTeam.getFlagTurnInLocation(), GameConfig.FLAG.TURN_IN_RADIUS);
return;
}
notifyAboutCapture();

View File

@ -1,3 +1,3 @@
#Tue Feb 11 21:41:29 CET 2025
buildNumber=37
#Tue Feb 11 21:46:26 CET 2025
buildNumber=39
version=0.1