mirror of
https://github.com/essentials/Essentials.git
synced 2025-09-25 21:59:08 +02:00
More cleanup
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1570 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
@@ -68,7 +68,7 @@ public class EssentialsXMPP extends JavaPlugin implements IEssentialsXMPP
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAddress(final Player user, final String address) throws Exception
|
||||
public void setAddress(final Player user, final String address)
|
||||
{
|
||||
final String username = user.getName().toLowerCase();
|
||||
instance.users.setAddress(username, address);
|
||||
@@ -81,7 +81,7 @@ public class EssentialsXMPP extends JavaPlugin implements IEssentialsXMPP
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean toggleSpy(final Player user) throws Exception
|
||||
public boolean toggleSpy(final Player user)
|
||||
{
|
||||
final String username = user.getName().toLowerCase();
|
||||
final boolean spy = !instance.users.isSpy(username);
|
||||
|
Reference in New Issue
Block a user