mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-26 18:33:04 +00:00
Remove unnecessary reflection
This commit is contained in:
3 files changed
+18
-6
No files matched your search
@@ -52,7 +52,7 @@ public class BukkitUserManager extends UserManager {
|
||||
Player player = plugin.getServer().getPlayer(plugin.getUuidCache().getExternalUUID(u.getUuid()));
|
||||
|
||||
if (player != null) {
|
||||
player.removeAttachment(u.getAttachment());
|
||||
player.removeAttachment(u.getAttachment().getAttachment());
|
||||
}
|
||||
u.setAttachment(null);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user