1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-18 17:53:00 +01:00

Updated death messages

This commit is contained in:
cerevisiae
2010-12-13 18:15:04 -06:00
parent e24f6570d5
commit cc541934bf
3 changed files with 86 additions and 45 deletions

View File

@@ -154,6 +154,8 @@ class PlayerList
tag,
suffix;
private boolean dead;
char defaultColor;
String location = "vminecraft.users";
@@ -182,6 +184,7 @@ class PlayerList
defaultColor = 'f';
ignoreList = new ArrayList<String>();
aliasList = new commandList();
dead = false;
//Try to load the player and if they aren't found, append them
if(!load())
@@ -544,6 +547,22 @@ class PlayerList
return etc.getServer().matchPlayer(lastMessage);
return null;
}
//=====================================================================
//Function: isDead
//Input: None
//Output: boolean: If the player is dead or not
//Use: Gets the player is dead or not.
//=====================================================================
public boolean isDead() {return dead;}
//=====================================================================
//Function: isDead
//Input: boolean isded: if the player is dead or not.
//Output: None
//Use: Sets if the player is dead or not
//=====================================================================
public void isDead(boolean isded){dead = isded;}
}
}