Petits correctifs

This commit is contained in:
2015-01-24 04:05:58 -05:00
parent d4b8800fb1
commit b917f40f6d
2 changed files with 15 additions and 3 deletions

View File

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