mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Fixed the message to look nicer
This commit is contained in:
parent
da86708f67
commit
f15e00bdc7
@ -98,9 +98,9 @@ public class vMinecraftListener extends PluginListener {
|
|||||||
player.teleportTo(home.Location);
|
player.teleportTo(home.Location);
|
||||||
//Makes sure the player has a custom home before telling them about /myspawn
|
//Makes sure the player has a custom home before telling them about /myspawn
|
||||||
if(etc.getServer().getSpawnLocation() != etc.getDataSource().getHome(player.getName()).Location){
|
if(etc.getServer().getSpawnLocation() != etc.getDataSource().getHome(player.getName()).Location){
|
||||||
player.sendMessage(Colors.DarkPurple + "Return here with /myspawn, the penalty for returning is the complete loss of inventory");
|
vMinecraftChat.sendMessage(player, Colors.DarkPurple + "Return here with /myspawn, the penalty for returning is the complete loss of inventory");
|
||||||
} else {
|
} else {
|
||||||
player.sendMessage(Colors.DarkPurple + "Set your own spawn with /myspawn");
|
vMinecraftChat.sendMessage(player, Colors.DarkPurple + "Set your own spawn with /myspawn");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
vMinecraftUsers.getProfile(player).isDead(false);
|
vMinecraftUsers.getProfile(player).isDead(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user