WorldGuard

WorldGuard

8M Downloads

Worldguard overrides own heal-command

DevJoey opened this issue ยท 1 comments

commented

WorldEdit Version

7.2.15+6463-5ca4dff

WorldGuard Version

7.0.9+5934e49

Platform Version

git-Paper-108 (MC: 1.20.1)

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using a version of WorldGuard compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

I cannot register a own heal comand because Worldguard overwrites it.

If i do the following:

getServer().getCommandMap().getKnownCommands().remove("heal");
getServer().getCommandMap().getKnownCommands().remove("worldguard:heal");

My command gets registered. If i remove WorldGuard my command also works.

Expected Behavior

Heal command of worldguard should not override other commands. Add an option to the config to disable the worldguard heal command.

Reproduction Steps

  1. Write a plugin that has a /heal command
  2. Install worldguard
  3. Run /heal

Optional WorldGuard-Report

No response

Anything Else?

No response

commented