1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-19 02:12:58 +01:00

Fixed some aliasing bugs, added in commandAnnounce type of command, fixed /reply, changed the command list to be an ArrayList instead of Array.

This commit is contained in:
cerevisiae
2010-12-08 03:47:42 -06:00
parent 8f09d9c428
commit 4d1feb4f3b
3 changed files with 252 additions and 143 deletions

View File

@@ -87,6 +87,7 @@ public class vMinecraftUsers {
//=====================================================================
class PlayerList
{
protected static final Logger log = Logger.getLogger("Minecraft");
ArrayList<PlayerProfile> players;
//=====================================================================
@@ -165,6 +166,7 @@ class PlayerList
public PlayerProfile(Player player)
{
//Declare things
playerName = player.getName();
nickName = new String();
tag = new String();
suffix = new String();
@@ -386,8 +388,9 @@ class PlayerList
//=====================================================================
public Player getMessage()
{
return etc.getServer().matchPlayer(lastMessage);
if(lastMessage != null)
return etc.getServer().matchPlayer(lastMessage);
return null;
}
}
}