1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-04-07 20:26:24 +02:00

Removed debugging code left behind

This commit is contained in:
bm01 2013-01-22 23:49:06 +01:00
parent ee91ed8708
commit 2a89e912f8

@ -1,6 +1,5 @@
package com.gmail.nossr50.skills.woodcutting; package com.gmail.nossr50.skills.woodcutting;
import org.bukkit.Bukkit;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.TreeSpecies; import org.bukkit.TreeSpecies;
@ -85,9 +84,6 @@ public abstract class Woodcutting {
* @throws IllegalArgumentException if 'log' is invalid * @throws IllegalArgumentException if 'log' is invalid
*/ */
protected static int getExperienceFromLog(Block log) { protected static int getExperienceFromLog(Block log) {
byte data = log.getData();
Bukkit.getLogger().info(Integer.toHexString(data));
TreeSpecies logType = TreeSpecies.getByData((byte) (log.getData() & 0x3)); TreeSpecies logType = TreeSpecies.getByData((byte) (log.getData() & 0x3));
// Apparently species can be null in certain cases (custom server mods?) // Apparently species can be null in certain cases (custom server mods?)