mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Removed debugging code left behind
This commit is contained in:
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?)
|
||||||
|
Loading…
Reference in New Issue
Block a user