diff --git a/com/draksterau/Regenerator/listeners/eventListener.java b/com/draksterau/Regenerator/listeners/eventListener.java index 0a9d2a0..b9491e8 100644 --- a/com/draksterau/Regenerator/listeners/eventListener.java +++ b/com/draksterau/Regenerator/listeners/eventListener.java @@ -82,7 +82,7 @@ public void onBlockBreak(BlockBreakEvent event) { @EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = false) public void onRegenerationRequest(RegenerationRequestEvent event) { RChunk rChunk = new RChunk(RegeneratorPlugin, event.getBlock().getChunk().getX(), event.getBlock().getChunk().getZ(), event.getBlock().getWorld().getName()); - if (!event.isCancelled()) { + if (!event.isCancelled() && !event.getTrigger().equals(RequestTrigger.Command)) { if (event.isImmediate()) { Bukkit.getServer().getScheduler().runTask(this.RegeneratorPlugin, new ChunkTask(rChunk, true)); } else {