EssentialsX

EssentialsX

2M Downloads

Locale initializing twice at start-up.

mibby opened this issue ยท 1 comments

commented

EssentialsX dev 427

Locale seems to initialize twice at start-up. Very minor issue, but thought I'd note it anyways.

[00:42:33] [Server thread/INFO]: [Essentials] Enabling Essentials v2.0.1-b427
[00:42:33] [Server thread/INFO]: Using locale en_US
[00:42:33] [Server thread/INFO]: [Essentials] Using 1.8.3+ BlockStateMeta provider as mob spawner provider.
[00:42:33] [Server thread/INFO]: [Essentials] Using Reflection based provider as spawn egg provider.
[00:42:33] [Server thread/INFO]: [Essentials] Using 1.9+ BasePotionData provider as potion meta provider.
[00:42:33] [Server thread/INFO]: Using locale en_US
[00:42:33] [Server thread/INFO]: [Essentials] Metrics disabled per PluginMetrics config.
[00:42:33] [Server thread/INFO]: [Vault][Economy] Essentials Economy hooked.
[00:42:33] [Server thread/INFO]: [Essentials] Using Vault based permissions (PermissionsEx)
commented

Yes, the locale is set twice, though I don't think it should be. It happens once in onEnable() and then another time in reload() which is called at the end of onEnable(). The call could probably be removed from onEnable().