Skip to content

Commit

Permalink
Add deprecation notice for runMojangMappedServer
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Apr 29, 2024
1 parent b56b734 commit 8aeec17
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ public abstract class RunPaperPlugin : RunPlugin() {
}
val deprecatedRunTask = registerDevBundleRun(Constants.Tasks.RUN_MOJANG_MAPPED_SERVER) {
description = "Deprecated equivalent of ${Constants.Tasks.RUN_DEV_BUNDLE_SERVER}"
doFirst {
logger.error("The '${Constants.Tasks.RUN_MOJANG_MAPPED_SERVER}' task has been deprecated and replaced by '${Constants.Tasks.RUN_DEV_BUNDLE_SERVER}'.")
Thread.sleep(5000L)
}
}

afterEvaluate {
Expand Down

0 comments on commit 8aeec17

Please sign in to comment.