Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate leftover uuid task method #6272

Merged
merged 1 commit into from
Oct 31, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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