Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report a Unexpected Behaivor. #180

Closed
scamaccas opened this issue Jul 30, 2023 · 1 comment
Closed

Report a Unexpected Behaivor. #180

scamaccas opened this issue Jul 30, 2023 · 1 comment
Labels
Issue: Ask/Questions Further information is requested Issue: Bug Something isn't working Issue: Debugged Reproduced... Issue: Fixed Fixed Issue: PocketMine-MP PocketMine-MP Issues

Comments

@scamaccas
Copy link

ReflectionException: "Class "pocketmine\event\player\PlayerCommandPreprocessEvent" does not exist" (-1) in "pmsrc/src/plugin/PluginManager" at line 574

--- Stack trace ---
  #0 pmsrc/src/plugin/PluginManager(574): ReflectionClass->__construct(string[52] pocketmine\event\player\PlayerCommandPreprocessEvent)
  #1 pmsrc/src/plugin/PluginManager(596): pocketmine\plugin\PluginManager->getEventsHandledBy(object ReflectionMethod#43052)
  #2 plugins/ProfanityFilter-stable/src/Loader(93): pocketmine\plugin\PluginManager->registerEvents(object ReinfyTeam\ProfanityFilter\EventListener#43059, object ReinfyTeam\ProfanityFilter\Loader#154944)
  #3 plugins/ProfanityFilter-stable/src/Loader(63): ReinfyTeam\ProfanityFilter\Loader->loadListeners()
  #4 pmsrc/src/plugin/PluginBase(118): ReinfyTeam\ProfanityFilter\Loader->onEnable()
  #5 pmsrc/src/plugin/PluginManager(454): pocketmine\plugin\PluginBase->onEnableStateChange(true)
  #6 pmsrc/src/Server(1388): pocketmine\plugin\PluginManager->enablePlugin(object ReinfyTeam\ProfanityFilter\Loader#154944)
  #7 pmsrc/src/Server(1032): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#41352)
  #8 pmsrc/src/PocketMine(334): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#3, object pocketmine\utils\MainLogger#6, string[6] /root/, string[14] /root/plugins/)
  #9 pmsrc/src/PocketMine(357): pocketmine\server()
  #10 pmsrc(11): require(string[50] phar:///root/PocketMine-MP.phar/src/PocketMine.php)```
@xqwtxon xqwtxon added Issue: Bug Something isn't working Issue: Ask/Questions Further information is requested Issue: PocketMine-MP PocketMine-MP Issues Issue: Debugged Reproduced... labels Aug 17, 2023
@xqwtxon
Copy link
Contributor

xqwtxon commented Aug 17, 2023

PlayerCommandPreProcessEvent is now renamed as CommandEvent

@Reinfy Reinfy closed this as completed in 9628a28 Aug 18, 2023
Reinfy added a commit that referenced this issue Aug 18, 2023
…CommandPreprocessEvent" does not exist" (-1) in "pmsrc/src/plugin/PluginManager" at line 574) (#181)

### `PlayerPreProcessEvent` is now `CommandEvent`

This event was **useless** because of we can directly check profanity
when players chat and the event (`PlayerChatEvent`) **will be
triggered.**
@xqwtxon xqwtxon added the Issue: Fixed Fixed label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Ask/Questions Further information is requested Issue: Bug Something isn't working Issue: Debugged Reproduced... Issue: Fixed Fixed Issue: PocketMine-MP PocketMine-MP Issues
Projects
None yet
Development

No branches or pull requests

2 participants