1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

How to remove a command code?

Discussion in 'Facepalm' started by Fermix, Jun 15, 2017.

  1. Fermix

    Fermix Creeper

    Messages:
    3
    GitHub:
    fermixdev
    How to remove a command code? $this->getServer()->getCommandMap()->getCommand()->unregister(); is not working...
    Sorry my bad English
     
  2. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    There are several threads for this. Here's one solution, use the search bar if it's not what you are looking for.
     
  3. Fermix

    Fermix Creeper

    Messages:
    3
    GitHub:
    fermixdev
    No, you need to remove one command, for example time to register it again.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.