mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-30 02:05:41 +00:00
added "banned (user) quietly" message
did i do this right, idk java
This commit is contained in:
parent
51e1191816
commit
8628e88e3a
@ -104,7 +104,10 @@ public class Command_ban extends FreedomCommand
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
sender.sendMessage(ChatColor.GRAY + "Banned " + player.getName() + " quietly.");
|
||||||
|
}
|
||||||
// Kill player
|
// Kill player
|
||||||
player.setHealth(0.0);
|
player.setHealth(0.0);
|
||||||
}
|
}
|
||||||
@ -172,4 +175,4 @@ public class Command_ban extends FreedomCommand
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user