Merge branch 'master' of github.com:nossr50/vminecraft-plugin

This commit is contained in:
nossr50 2010-12-02 14:13:56 -08:00
commit 6ab7b49e94
2 changed files with 6 additions and 4 deletions

View File

@ -32,7 +32,6 @@ public class vMinecraftChat {
//===================================================================== //=====================================================================
public static void sendMessage(Player sender, Player receiver, String msg){ public static void sendMessage(Player sender, Player receiver, String msg){
String[] message = applyColors(wordWrap(msg)); String[] message = applyColors(wordWrap(msg));
if
for(String out : message) for(String out : message)
receiver.sendMessage(out + " "); receiver.sendMessage(out + " ");
} }

View File

@ -235,11 +235,14 @@ class PlayerList
} catch (Exception e) { } catch (Exception e) {
log.log(Level.SEVERE, "Exception while reading " + location + " (Are you sure you formatted it correctly?)", e); log.log(Level.SEVERE, "Exception while reading " + location + " (Are you sure you formatted it correctly?)", e);
} }
}
//===================================================================== //=====================================================================
// Function: save // Function: save
// Input: none // Input: none
// Output: Writes current values of PlayerProfile to disk // Output: None
// Use: Call this function to save current values // Use: Writes current values of PlayerProfile to disk
// Call this function to save current values
//===================================================================== //=====================================================================
public void save(){ public void save(){
try { try {