Skip to content

Commit

Permalink
Merge pull request #6272 from TownyAdvanced/deprecate-uuidtask-leftover
Browse files Browse the repository at this point in the history
Deprecate leftover uuid task method
  • Loading branch information
LlmDl authored Oct 31, 2022
2 parents 2ea7dad + 2ff3c39 commit 737459b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/com/palmergames/bukkit/towny/TownyTimerHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public static void initialize (Towny plugin) {
private static int teleportWarmupTask = -1;
private static int cooldownTimerTask = -1;
private static int drawSmokeTask = -1;
private static int gatherResidentUUIDTask = -1;
private static int drawSpawnPointsTask = -1;

public static void newHour() {
Expand Down Expand Up @@ -212,9 +211,12 @@ public static boolean isDrawSmokeTaskRunning() {
return drawSmokeTask != -1;
}

/**
* @deprecated Deprecated as of 0.98.3.18, the gather resident uuid task has not existed since 0.97.2.8.
*/
@Deprecated
public static boolean isGatherResidentUUIDTaskRunning() {

return gatherResidentUUIDTask != -1;
return false;
}

public static boolean isDrawSpawnPointsTaskRunning() {
Expand Down

0 comments on commit 737459b

Please sign in to comment.