From 5724706b6f51e8d24c6e0cf4b629aaa215cf85c1 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 21 Aug 2015 21:12:54 -0400 Subject: [PATCH] Maybe fix ~~target? --- otp/avatar/Avatar.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/otp/avatar/Avatar.py b/otp/avatar/Avatar.py index f604f309..75e7a584 100755 --- a/otp/avatar/Avatar.py +++ b/otp/avatar/Avatar.py @@ -565,6 +565,4 @@ def target(): """ Returns the current Spellbook target. """ - target = spellbook.getTarget() - - return 'Target: %s-%d [%d]' % (target.getName(), int(target.doId), int(target.getAdminAccess())) \ No newline at end of file + return 'Your current target is: %s [avId: %s, access: %s]' % (spellbook.getTarget().getName(), spellbook.getTarget().doId, spellbook.getTarget().getAdminAccess()) \ No newline at end of file