mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-22 07:00:05 +00:00
Merge branch 'IntellectualSites:main' into main
This commit is contained in:
commit
1cf3c6bdfb
@ -6,12 +6,12 @@ log4j = "2.19.0"
|
||||
|
||||
# Plugins
|
||||
dummypermscompat = "1.10"
|
||||
worldguard-bukkit = "7.0.8"
|
||||
worldguard-bukkit = "7.0.9"
|
||||
mapmanager = "1.8.0-SNAPSHOT"
|
||||
griefprevention = "16.18.1"
|
||||
griefdefender = "2.1.0-SNAPSHOT"
|
||||
residence = "4.5._13.1"
|
||||
towny = "0.99.5.4"
|
||||
towny = "0.99.5.7"
|
||||
|
||||
# Third party
|
||||
bstats = "3.0.2"
|
||||
|
@ -3,7 +3,7 @@ import io.papermc.paperweight.userdev.attribute.Obfuscation
|
||||
|
||||
plugins {
|
||||
`java-library`
|
||||
id("com.modrinth.minotaur") version "2.8.2"
|
||||
id("com.modrinth.minotaur") version "2.8.3"
|
||||
}
|
||||
|
||||
project.description = "Bukkit"
|
||||
|
@ -329,7 +329,7 @@ public class FaweBukkit implements IFawe, Listener {
|
||||
WEManager.weManager().addManager(new com.fastasyncworldedit.bukkit.regions.plotsquared.PlotSquaredFeature());
|
||||
LOGGER.info("Plugin 'PlotSquared' v7 found. Using it now.");
|
||||
} else {
|
||||
LOGGER.error("Incompatible version of PlotSquared found. Please use PlotSquared v6.");
|
||||
LOGGER.error("Incompatible version of PlotSquared found. Please use PlotSquared v7.");
|
||||
LOGGER.info("https://www.spigotmc.org/resources/77506/");
|
||||
}
|
||||
}
|
||||
|
@ -672,6 +672,13 @@ public class WorldEditPlugin extends JavaPlugin {
|
||||
String label = buffer.substring(0, firstSpace);
|
||||
// Strip leading slash, if present.
|
||||
label = label.startsWith("/") ? label.substring(1) : label;
|
||||
|
||||
// If command not owned by FAWE, do not tab complete
|
||||
Plugin owner = platform.getDynamicCommands().getCommandOwner(label);
|
||||
if (owner != WorldEditPlugin.this) {
|
||||
return;
|
||||
}
|
||||
|
||||
final Optional<org.enginehub.piston.Command> command
|
||||
= WorldEdit.getInstance().getPlatformManager().getPlatformCommandManager().getCommandManager().getCommand(
|
||||
label);
|
||||
|
Loading…
x
Reference in New Issue
Block a user