mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Merge branch 'master' of github.com:nossr50/vminecraft-plugin
This commit is contained in:
commit
6ab7b49e94
@ -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 + " ");
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user