Fix cleanup to not hold Users in memory.

This commit is contained in:
snowleo 2013-05-03 00:12:40 +02:00
parent ebc6b14284
commit 555a300378
6 changed files with 22 additions and 15 deletions

View file

@ -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())
{