Skip to content

Commit

Permalink
- Fix spawn particles able to be drawn while Towny is disabled.
Browse files Browse the repository at this point in the history
    - Closes #7372.
  • Loading branch information
LlmDl committed Apr 21, 2024
1 parent 32ce982 commit 09de20a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Towny/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<artifactId>towny</artifactId>
<packaging>jar</packaging>
<version>0.100.2.4</version>
<version>0.100.2.5</version>

<licenses>
<license>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public SpawnPointLocation getSpawnPointLocation() {
}

public void drawParticle() {
if (!Towny.getPlugin().isEnabled())
return;

final World world = position.world().getBukkitWorld();
if (world == null)
return;
Expand Down
5 changes: 4 additions & 1 deletion Towny/src/main/resources/ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9715,4 +9715,7 @@ v0.92.0.11:
- Add better error message when you try to buy a plot you already own.
- Update logging code, courtesy of Articdive with PR #7314.
- Drops the usage of deprecated methods and begins using the towny.log file again.
- Closes #5855.
- Closes #5855.
0.100.2.5:
- Fix spawn particles able to be drawn while Towny is disabled.
- Closes #7372.

0 comments on commit 09de20a

Please sign in to comment.