mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-22 21:43:41 +00:00
Fix cleanup to not hold Users in memory.
This commit is contained in:
parent
ebc6b14284
commit
555a300378
6 changed files with 22 additions and 15 deletions
|
@ -19,7 +19,7 @@ public class Commandtpaccept extends EssentialsCommand
|
|||
public void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception
|
||||
{
|
||||
|
||||
final User target = user.getTeleportRequest();
|
||||
final User target = ess.getUser(user.getTeleportRequest());
|
||||
|
||||
if (target == null || !target.isOnline())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue