From 4cfc8f1572c68111f14d85a801fc85b33553e414 Mon Sep 17 00:00:00 2001 From: Teriuihi Date: Tue, 11 Feb 2025 21:46:44 +0100 Subject: [PATCH] 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. --- src/main/java/com/alttd/ctf/flag/Flag.java | 2 +- version.properties | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/alttd/ctf/flag/Flag.java b/src/main/java/com/alttd/ctf/flag/Flag.java index d2cebbb..57c3c74 100644 --- a/src/main/java/com/alttd/ctf/flag/Flag.java +++ b/src/main/java/com/alttd/ctf/flag/Flag.java @@ -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(); diff --git a/version.properties b/version.properties index 04c499f..d8cfa13 100644 --- a/version.properties +++ b/version.properties @@ -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