This commit is contained in:
Boos 2011-12-27 18:34:25 +01:00
parent 0af02c541e
commit 183ad1bf19
4 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -14,6 +14,7 @@ public class boosCoolDownEntityListener extends EntityListener {
plugin = instance;
}
@Override
public void onEntityDamage(EntityDamageEvent event) {
if (event.isCancelled()) {
return;

View File

@ -14,6 +14,7 @@ public class boosCoolDownPlayerListener extends PlayerListener {
plugin = instance;
}
@Override
public void onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event) {
if (event.isCancelled()) {
return;

View File

@ -23,6 +23,7 @@ public class boosWarmUpTimer extends TimerTask {
public boosWarmUpTimer() {
}
@Override
public void run() {
if (player.isOnline()) {
boosCoolDownManager.setWarmUpOK(player, pre, message);