File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/java/eu/endermite/commandwhitelist/spigot Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 66
77 <groupId >eu.endermite</groupId >
88 <artifactId >CommandWhitelist</artifactId >
9- <version >1.7.2 </version >
9+ <version >1.7.3 </version >
1010 <packaging >jar</packaging >
1111
1212 <name >CommandWhitelist</name >
Original file line number Diff line number Diff line change @@ -28,9 +28,10 @@ public void onEnable() {
2828
2929 Plugin protocollib = getServer ().getPluginManager ().getPlugin ("ProtocolLib" );
3030
31+ getServer ().getPluginManager ().registerEvents (new PlayerCommandPreProcessListener (), this );
3132 if (!isLegacy ) {
3233 if (!getConfigCache ().isUseProtocolLib () || protocollib == null || !protocollib .isEnabled ()) {
33- getServer (). getPluginManager (). registerEvents ( new PlayerCommandPreProcessListener (), this );
34+
3435 getServer ().getPluginManager ().registerEvents (new PlayerCommandSendListener (), this );
3536 } else {
3637 PacketCommandSendListener .protocol (this );
You can’t perform that action at this time.
0 commit comments