1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-21 11:13:00 +01:00

Added silent mode, made invisible players update for all players on player movement, this should stop cloning/issues with invisibility. Moved some functions into vMinecraftParty... considering renaming this to vMinecraftFunctions or something similar.

This commit is contained in:
nossr50
2011-01-05 07:09:51 -08:00
parent f5d220e7a3
commit a22c04a725
5 changed files with 55 additions and 62 deletions

View File

@@ -156,7 +156,8 @@ class PlayerList
party,
tpxyz;
private boolean dead;
private boolean dead,
silent;
char defaultColor;
@@ -508,6 +509,21 @@ class PlayerList
nickName = newNick;
save();
}
public void setSilent(){
silent = true;
}
public void disableSilent(){
silent = false;
}
public boolean isSilent(){
if(silent == true){
return true;
}
else {
return false;
}
}
//Store the player's party
public void setParty(String newParty)
{