1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-20 21:41:32 +02:00

@SyntaxBlitz Fix /vanish with no arguments doing nothing

This commit is contained in:
ementalo
2012-06-25 23:47:51 +01:00
parent 5604231367
commit 09ef49cbaf

View File

@@ -741,7 +741,6 @@ public class User extends UserBase implements IUser
return teleportInvulnerabilityTimestamp != 0 && teleportInvulnerabilityTimestamp >= System.currentTimeMillis(); return teleportInvulnerabilityTimestamp != 0 && teleportInvulnerabilityTimestamp >= System.currentTimeMillis();
} }
@Override @Override
public void setVanished(boolean set) public void setVanished(boolean set)
{ {
@@ -779,7 +778,7 @@ public class User extends UserBase implements IUser
@Override @Override
public void toggleVanished() public void toggleVanished()
{ {
//todo final boolean set = !vanished;
//throw new UnsupportedOperationException("Not supported yet."); this.setVanished(set);
} }
} }