mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-07 11:10:05 +01:00
de5f152df9
* Fixes data removal ignoring chat.logins and chat.text for a part. * Move some components interfaces and ReflectionUtil to NCPCommons. * Unregister components in reverse order. * Add ComponentRegistryProvider for generic sub-registries (DataManager for instance). * Add IHoldSUbComponents for delayed sub-component registration (convenient for iteration over parent-components with later registration of sub components not missing out any registered parent components for those). [Partly implemented: Using this during runtime does not yet work, only used in onEnable.] * Let CheckListener implement IHoldSubComponents and use this with addCheck to register the queued checks after all the listeners. * Register the core system components in a bunch before the CheckListenerS, to allow sub-registries to work directly and to allow getAPI().addComponent on the plugin class during construction of CheckListeners. |
||
---|---|---|
.. | ||
main/java/fr/neatmonster/nocheatplus | ||
test/java/fr/neatmonster/nocheatplus/test |