2019-03-26 02:44:29 +01:00
|
|
|
package com.songoda.ultimatetimber.manager;
|
|
|
|
|
2019-03-28 01:56:39 +01:00
|
|
|
import com.songoda.ultimatetimber.UltimateTimber;
|
|
|
|
import org.bukkit.Bukkit;
|
|
|
|
import org.bukkit.event.EventHandler;
|
|
|
|
import org.bukkit.event.EventPriority;
|
|
|
|
import org.bukkit.event.Listener;
|
|
|
|
import org.bukkit.event.block.BlockBreakEvent;
|
|
|
|
|
|
|
|
public class TreeFallManager extends Manager implements Listener {
|
|
|
|
|
|
|
|
public TreeFallManager(UltimateTimber ultimateTimber) {
|
|
|
|
super(ultimateTimber);
|
|
|
|
Bukkit.getPluginManager().registerEvents(this, ultimateTimber);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void reload() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void disable() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@EventHandler(priority = EventPriority.LOW, ignoreCancelled = true)
|
|
|
|
public void onBlockBreak(BlockBreakEvent event) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2019-03-26 02:44:29 +01:00
|
|
|
}
|