Petits correctifs
This commit is contained in:
@@ -14,6 +14,7 @@ import com.comphenix.protocol.events.PacketAdapter;
|
||||
import com.comphenix.protocol.events.PacketEvent;
|
||||
import com.comphenix.protocol.wrappers.WrappedGameProfile;
|
||||
|
||||
import net.mc_pandacraft.java.plugin.pandacraftutils.ConfigManager;
|
||||
import net.mc_pandacraft.java.plugin.pandacraftutils.PandacraftUtils;
|
||||
import net.mc_pandacraft.java.plugin.pandacraftutils.plugin_interface.EssentialsInterface;
|
||||
|
||||
@@ -107,10 +108,8 @@ public class PacketOutServerInfoListener {
|
||||
event.getPacket().getServerPings().read(0).setPlayersOnline(count_player);
|
||||
|
||||
|
||||
String motd = "§7Serveur §fPandacraft§f, §eVenez nous rejoindre :D\n§bCreatif§7, §6Survie§7 et §4Faction/PVP§7 !";
|
||||
|
||||
|
||||
event.getPacket().getServerPings().read(0).setMotD(motd);
|
||||
event.getPacket().getServerPings().read(0).setMotD(ConfigManager.getInstance().ServerMOTD);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user