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:
parent
9563e9641f
commit
4cfc8f1572
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user