This commit is contained in:
speed 2020-07-14 03:34:51 -04:00 committed by GitHub
parent 40e40c700f
commit d7e9f2d759
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()));
}
}
}
}