mirror of
https://github.com/TotalFreedomMC/TFGuilds.git
synced 2024-12-22 16:05:00 +00:00
colorize
This commit is contained in:
parent
40e40c700f
commit
d7e9f2d759
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
package me.totalfreedom.tfguilds.listener;
|
||||
|
||||
import me.totalfreedom.tfguilds.guild.Guild;
|
||||
import me.totalfreedom.tfguilds.util.GUtil;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.Listener;
|
||||
|
@ -17,7 +18,7 @@ public class JoinListener implements Listener
|
|||
return;
|
||||
if (guild.hasMOTD())
|
||||
{
|
||||
player.sendMessage(guild.getMotd());
|
||||
player.sendMessage(GUtil.colorize(guild.getMotd()));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue