mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-24 17:47:44 +01:00
Fix for ezModo not working and changed brackets in chat to be White again for now.
This commit is contained in:
parent
b2711e4328
commit
1388780143
@ -459,8 +459,8 @@ public class vMinecraftChat {
|
||||
public static boolean quote(Player player, String message)
|
||||
{
|
||||
//Format the name
|
||||
String playerName = player.getColor() + "<" + getName(player)
|
||||
+ player.getColor() + "> ";
|
||||
String playerName = Colors.White + "<" + getName(player)
|
||||
+ Colors.White + "> ";
|
||||
if(vMinecraftSettings.getInstance().greentext()) {
|
||||
//Log the chat
|
||||
log.log(Level.INFO, "<"+player.getName()+"> " + message);
|
||||
@ -504,8 +504,8 @@ public class vMinecraftChat {
|
||||
public static boolean quakeColors(Player player, String message)
|
||||
{
|
||||
//Format the name
|
||||
String playerName = player.getColor() + "<"
|
||||
+ getName(player) + player.getColor() +"> ";
|
||||
String playerName = Colors.White + "<"
|
||||
+ getName(player) + Colors.White +"> ";
|
||||
if(vMinecraftSettings.getInstance().quakeColors()) {
|
||||
|
||||
String color = vMinecraftUsers.getProfile(player).getColor();
|
||||
|
@ -86,6 +86,10 @@ public class vMinecraftListener extends PluginListener {
|
||||
//Use: Checks for exploits and runs the commands
|
||||
//=====================================================================
|
||||
public boolean onHealthChange(Player player,int oldValue,int newValue){
|
||||
//Invincibility for EzModo players
|
||||
if(vMinecraftSettings.getInstance().isEzModo(player.getName())){
|
||||
return false;
|
||||
}
|
||||
//Sets a player as dead
|
||||
if (player.getHealth() < 1){
|
||||
vMinecraftUsers.getProfile(player).isDead(true);
|
||||
|
Loading…
Reference in New Issue
Block a user