From 7875e2f6d12e540dc4640be64e5f1e7b447b574b Mon Sep 17 00:00:00 2001 From: MarioG1 Date: Sat, 18 Apr 2015 11:30:49 +0200 Subject: [PATCH] Remove some debug messages. --- .../com/lishid/orebfuscator/obfuscation/Calculations.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/main/java/com/lishid/orebfuscator/obfuscation/Calculations.java b/src/main/java/com/lishid/orebfuscator/obfuscation/Calculations.java index a1400c93..fad4252d 100644 --- a/src/main/java/com/lishid/orebfuscator/obfuscation/Calculations.java +++ b/src/main/java/com/lishid/orebfuscator/obfuscation/Calculations.java @@ -87,7 +87,6 @@ public static void Obfuscate(Object packet, Player player) { } public static void Obfuscate(Packet56 packet, Player player) { - Orebfuscator.log("Obfuscate Packet56"); ChunkInfo[] infos = getInfo(packet, player); for (ChunkInfo info : infos) { @@ -96,14 +95,11 @@ public static void Obfuscate(Packet56 packet, Player player) { } public static void Obfuscate(Packet51 packet, Player player) { - Orebfuscator.log("Obfuscate Packet51_false"); ChunkInfo info = getInfo(packet, player); if (info.chunkMask == 0) { return; } - - Orebfuscator.log("Obfuscate Packet51"); ComputeChunkInfoAndObfuscate(info); } @@ -159,13 +155,11 @@ public static byte[] Obfuscate(ChunkInfo info) { hash = CalculationsUtil.Hash(info.buffer, info.bytes); // Sanitize buffer for caching PrepareBufferForCaching(info.buffer, info.bytes); - // Get cache folder File cacheFolder = new File(OrebfuscatorConfig.getCacheFolder(), info.world.getName()); // Create cache objects cache = new ObfuscatedCachedChunk(cacheFolder, info.chunkX, info.chunkZ); - info.useCache = true; - + info.useCache = true; // Check if hash is consistent cache.Read();