Skip to content
This repository has been archived by the owner on May 3, 2018. It is now read-only.

Commit

Permalink
release 0.0.2-preR2
Browse files Browse the repository at this point in the history
  • Loading branch information
DefinitlyEvil committed May 9, 2015
1 parent e9c1f95 commit 3632044
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/dragonet/DragonetServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ public DragonetServer(GlowServer server) {
*/
public void initialize() {
/* Uncomment following 3 lines when release */
//this.logger.info("Sending statistic... ");
//StatisticSender statSender = new StatisticSender(DragonetVersioning.DRAGONET_VERSION, System.currentTimeMillis());
//statSender.sendStatistic();
this.logger.info("Sending statistic... ");
StatisticSender statSender = new StatisticSender(DragonetVersioning.DRAGONET_VERSION, System.currentTimeMillis());
statSender.sendStatistic();
File fileConfig = new File(this.server.getConfigDir() + File.separator + "dragonet.yml");
if (!fileConfig.exists()) {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void encode() {
writer.writeLong(this.time);
writer.writeLong(this.serverID);
writer.write(RaknetConstants.magic);
writer.writeString("MCPE;" + serverName + ";25;MCPC " + DragonetVersioning.MINECRAFT_PC_VERSION + ", MCPE " + DragonetVersioning.MINECRAFT_PE_VERSION);
writer.writeString("MCPE;" + serverName + " (Dragonet " + DragonetVersioning.DRAGONET_VERSION + ");25;MCPC " + DragonetVersioning.MINECRAFT_PC_VERSION + ", MCPE " + DragonetVersioning.MINECRAFT_PE_VERSION);
this.setData(bos.toByteArray());
} catch (IOException e) {
this.setData(new byte[0]);
Expand Down

0 comments on commit 3632044

Please sign in to comment.