diff --git a/src/main/java/com/yaohun/enderdragonwar/effect/types/BlackHoleEffect.java b/src/main/java/com/yaohun/enderdragonwar/effect/types/BlackHoleEffect.java index f550fe5..3adad46 100644 --- a/src/main/java/com/yaohun/enderdragonwar/effect/types/BlackHoleEffect.java +++ b/src/main/java/com/yaohun/enderdragonwar/effect/types/BlackHoleEffect.java @@ -137,6 +137,11 @@ public class BlackHoleEffect extends GameGiftEffect { }.runTaskTimer(EnderDragonWar.plugin, 0L, 1L); } + @Override + public int getQueueTime() { + return 15 * 20; + } + private Set getRandomUpBlocks(Location location, int size, int amount) { List blocks = new ArrayList<>(); int minX = location.getBlockX() - size; diff --git a/src/main/java/com/yaohun/enderdragonwar/effect/types/ClearInventoryEffect.java b/src/main/java/com/yaohun/enderdragonwar/effect/types/ClearInventoryEffect.java index 25bb04e..0c0a00c 100644 --- a/src/main/java/com/yaohun/enderdragonwar/effect/types/ClearInventoryEffect.java +++ b/src/main/java/com/yaohun/enderdragonwar/effect/types/ClearInventoryEffect.java @@ -67,6 +67,11 @@ public class ClearInventoryEffect extends GameGiftEffect { }.runTaskTimer(EnderDragonWar.plugin, 10L, 4L); } + @Override + public int getQueueTime() { + return 60; + } + private List getUseableItemCount(Player player) { List useableSlots = new ArrayList<>(); for (int i = 0; i < 36; i++) { diff --git a/src/main/java/com/yaohun/enderdragonwar/effect/types/ToHeavenEffect.java b/src/main/java/com/yaohun/enderdragonwar/effect/types/ToHeavenEffect.java index a9e4f67..8031071 100644 --- a/src/main/java/com/yaohun/enderdragonwar/effect/types/ToHeavenEffect.java +++ b/src/main/java/com/yaohun/enderdragonwar/effect/types/ToHeavenEffect.java @@ -44,4 +44,9 @@ public class ToHeavenEffect extends GameGiftEffect { }.runTaskTimer(EnderDragonWar.plugin, 0L, 1L); } + @Override + public int getQueueTime() { + return 200; + } + }