mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-25 03:55:22 +01:00
Minor fixes
This commit is contained in:
parent
6c6d1a8552
commit
ab4e15fd4f
@ -242,7 +242,7 @@ public class Announcer {
|
||||
*/
|
||||
public void send(Player player) {
|
||||
for (String message : description) {
|
||||
MessageUtil.broadcastCenteredMessage(message);
|
||||
MessageUtil.sendCenteredMessage(player, message);
|
||||
}
|
||||
|
||||
if (CompatibilityHandler.getInstance().isSpigot()) {
|
||||
|
@ -60,11 +60,6 @@ public class ClassesSign extends DSign {
|
||||
|
||||
@Override
|
||||
public void onInit() {
|
||||
if (getGame().getRules().isLobbyDisabled()) {
|
||||
getSign().getBlock().setType(Material.AIR);
|
||||
return;
|
||||
}
|
||||
|
||||
getSign().setLine(0, ChatColor.DARK_BLUE + "############");
|
||||
getSign().setLine(1, ChatColor.DARK_GREEN + dClass.getName());
|
||||
getSign().setLine(2, "");
|
||||
|
Loading…
Reference in New Issue
Block a user