Minor fix

This commit is contained in:
cerevisiae 2010-12-02 15:46:50 -06:00
parent 3a85abadfa
commit c92e434389
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 {