Clean up
This commit is contained in:
parent
0af02c541e
commit
183ad1bf19
|
@ -3,7 +3,6 @@ package cz.boosik.boosCooldown;
|
|||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.event.Event;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
import org.bukkit.plugin.PluginDescriptionFile;
|
||||
import org.bukkit.plugin.PluginManager;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
|
|
@ -14,6 +14,7 @@ public class boosCoolDownEntityListener extends EntityListener {
|
|||
plugin = instance;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEntityDamage(EntityDamageEvent event) {
|
||||
if (event.isCancelled()) {
|
||||
return;
|
||||
|
|
|
@ -14,6 +14,7 @@ public class boosCoolDownPlayerListener extends PlayerListener {
|
|||
plugin = instance;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event) {
|
||||
if (event.isCancelled()) {
|
||||
return;
|
||||
|
|
|
@ -23,6 +23,7 @@ public class boosWarmUpTimer extends TimerTask {
|
|||
public boosWarmUpTimer() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
if (player.isOnline()) {
|
||||
boosCoolDownManager.setWarmUpOK(player, pre, message);
|
||||
|
|
Loading…
Reference in New Issue