mirror of
https://github.com/plexusorg/Plex.git
synced 2026-06-05 14:06:53 +00:00
More modernization for the database
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package dev.plex.command.impl;
|
||||
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import dev.plex.cache.DataUtils;
|
||||
import dev.plex.command.PlexCommand;
|
||||
import dev.plex.command.annotation.CommandParameters;
|
||||
import dev.plex.command.annotation.CommandPermissions;
|
||||
@@ -34,7 +34,7 @@ public class UnbanCMD extends PlexCommand
|
||||
|
||||
if (args.length == 1)
|
||||
{
|
||||
PlexPlayer target = DataUtils.getPlayer(args[0]);
|
||||
PlexPlayer target = plugin.getPlayerService().getPlayer(args[0]);
|
||||
|
||||
if (target == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user