From 7fc11e1b0a1e0062a8dd59674d2975aaa2b20da8 Mon Sep 17 00:00:00 2001 From: TheEvilDude Date: Wed, 10 Dec 2014 21:22:05 +0800 Subject: [PATCH] release for 0.0.1-preR7 --- src/main/java/org/dragonet/DragonetServer.java | 6 +++--- .../translator/protocols/v0_10_0/Translator_v0_10_0.java | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/dragonet/DragonetServer.java b/src/main/java/org/dragonet/DragonetServer.java index 46c469a..f2bfec6 100644 --- a/src/main/java/org/dragonet/DragonetServer.java +++ b/src/main/java/org/dragonet/DragonetServer.java @@ -55,9 +55,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 { diff --git a/src/main/java/org/dragonet/net/translator/protocols/v0_10_0/Translator_v0_10_0.java b/src/main/java/org/dragonet/net/translator/protocols/v0_10_0/Translator_v0_10_0.java index 01986e4..e47fa95 100644 --- a/src/main/java/org/dragonet/net/translator/protocols/v0_10_0/Translator_v0_10_0.java +++ b/src/main/java/org/dragonet/net/translator/protocols/v0_10_0/Translator_v0_10_0.java @@ -86,10 +86,12 @@ public Message[] translateToPC(PEPacket packet) { /* ===== TO PE ===== */ @Override public PEPacket[] translateToPE(Message message) { + /* if (message.getClass().getSimpleName().contains("Player") || message.getClass().getSimpleName().contains("Window") || message.getClass().getSimpleName().contains("Chunk")) { System.out.print("Trnaslating to PE: " + message.getClass().getSimpleName()); } + */ /* ==================================================================================== */ /**