setCancelled() in ServerCommandEvent does not seem to work

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      Win 10, Java 8

    • a custom-coded plug-in

      I've been just trying to cancel event in the ServerCommandEvent but e.setCancelled(), while it did not bring up any error or exception, seem to have been simply ignored. As a result, the console command went through. PlayerCommandPreprocessEvent works fine though.

            Assignee:
            Unassigned
            Reporter:
            Martin Ambrus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: