LuckPerms Integration (1/2)

This is part 1 of 2 of the luckperms integration for our switch to permissions.
This commit is contained in:
Paul Reilly
2023-03-29 00:46:32 -05:00
parent f91c21cc81
commit 65540b7f3a
96 changed files with 567 additions and 724 deletions

View File

@ -87,10 +87,8 @@ public class AntiSpam extends FreedomService
@EventHandler(priority = EventPriority.LOW)
public void onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event)
{
String command = event.getMessage();
final Player player = event.getPlayer();
final FPlayer fPlayer = plugin.pl.getPlayer(player);
fPlayer.setLastCommand(command);
if (fPlayer.allCommandsBlocked())
{