mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-08-10 06:23:15 +00:00
Added override annotations to command methods, optimized imports
This commit is contained in:
parent
06c705ef38
commit
dfe4d99568
22 changed files with 118 additions and 18 deletions
|
@ -13,6 +13,7 @@ import org.bukkit.util.StringUtil;
|
|||
|
||||
public class DataCommandModule implements CommandModule {
|
||||
|
||||
@Override
|
||||
public void onCommandExecute(PPlayer pplayer, String[] args) {
|
||||
LocaleManager localeManager = PlayerParticles.getInstance().getManager(LocaleManager.class);
|
||||
|
||||
|
@ -43,6 +44,7 @@ public class DataCommandModule implements CommandModule {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> onTabComplete(PPlayer pplayer, String[] args) {
|
||||
PermissionManager permissionManager = PlayerParticles.getInstance().getManager(PermissionManager.class);
|
||||
List<String> matches = new ArrayList<>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue