[SPIGOT-879] PlayerCommandPreprocessEvent results are ignored Created: 11/May/15 Updated: 17/May/15 Resolved: 17/May/15 |
|
Status: | Closed |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Jerom van der Sar | Assignee: | Unassigned |
Resolution: | Invalid | Votes: | 0 |
Labels: | bug, spigot | ||
Environment: |
git-Spigot-2ec6f06-7722428 (1.8.3) snapshot on a Multiplay game server - 2 Gigs allocated |
Description |
It seems PlayerCommandPreprocessEvent does can not be modified. Calling it's setCancelled(true) or setMessage("") still processes the command normally. This wasn't so the case in Spigot 1.7.10. |
Comments |
Comment by Jerom van der Sar [ 15/May/15 ] |
Sorry, this was actually a bug on my side. Close please. |
Comment by Black Hole [ 15/May/15 ] |
My tests shows that it is working as indented. Could you provide your test code and inputs you used? |