Skip to content

Commit ad1d40d

Browse files
Merge branch 'IntellectualSites:main' into main
2 parents 1d5ed37 + c8b4a2f commit ad1d40d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Bukkit/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ tasks {
105105
opt.links("https://intellectualsites.github.io/plotsquared-javadocs/core/")
106106
opt.links("https://jd.advntr.dev/api/4.14.0/")
107107
opt.links("https://google.github.io/guice/api-docs/" + libs.guice.get().versionConstraint.toString() + "/javadoc/")
108-
// opt.links("https://checkerframework.org/api/")
108+
opt.links("https://checkerframework.org/api/")
109109
opt.isLinkSource = true
110110
opt.bottom(File("$rootDir/javadocfooter.html").readText())
111111
opt.isUse = true

Core/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ tasks {
7171
opt.links("https://jd.advntr.dev/api/4.14.0/")
7272
opt.links("https://jd.advntr.dev/text-minimessage/4.14.0/")
7373
opt.links("https://google.github.io/guice/api-docs/" + libs.guice.get().versionConstraint.toString() + "/javadoc/")
74-
// opt.links("https://checkerframework.org/api/")
74+
opt.links("https://checkerframework.org/api/")
7575
opt.isLinkSource = true
7676
opt.bottom(File("$rootDir/javadocfooter.html").readText())
7777
opt.isUse = true

Core/src/main/java/com/plotsquared/core/command/Done.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public boolean onCommand(final PlotPlayer<?> player, String[] args) {
9494
TagResolver.resolver("plot", Tag.inserting(Component.text(plot.getId().toString())))
9595
);
9696
final Settings.Auto_Clear doneRequirements = Settings.AUTO_CLEAR.get("done");
97-
if (PlotSquared.platform().expireManager() == null || doneRequirements == null) {
97+
if (PlotSquared.platform().expireManager() == null || doneRequirements == null || player.hasPermission(Permission.PERMISSION_ADMIN_COMMAND_DONE)) {
9898
finish(plot, player, true);
9999
plot.removeRunning();
100100
} else {

0 commit comments

Comments
 (0)