Remove Start-Delay

This commit is contained in:
RayzsYT committed 2024-05-16 21:08:12 +02:00
1 parent b44a6dc444
commit 84abeb6299
3 files changed
+3 -3

No files matched your search

@@ -61,7 +61,7 @@ public class BukkitServerBrand implements ServerBrand {
if(animationState.getAndIncrement() >= Storage.CUSTOM_SERVER_BRANDS.size() - 1) animationState.set(0);
BRAND = Storage.CUSTOM_SERVER_BRANDS.get(animationState.get()) + "§r";
Bukkit.getOnlinePlayers().forEach(this::send);
}, Storage.CUSTOM_SERVER_BRAND_REPEAT_DELAY, Storage.CUSTOM_SERVER_BRAND_REPEAT_DELAY);
}, 1, Storage.CUSTOM_SERVER_BRAND_REPEAT_DELAY);
}
@Override
@@ -34,7 +34,7 @@ public class BungeeServerBrand implements ServerBrand {
if(animationState.getAndIncrement() >= Storage.CUSTOM_SERVER_BRANDS.size() - 1) animationState.set(0);
BRAND = MessageTranslator.replaceMessage(Storage.CUSTOM_SERVER_BRANDS.get(animationState.get())) + "§r";
SERVER.getPlayers().forEach(this::send);
}, Storage.CUSTOM_SERVER_BRAND_REPEAT_DELAY, Storage.CUSTOM_SERVER_BRAND_REPEAT_DELAY, TimeUnit.MILLISECONDS);
}, 1, Storage.CUSTOM_SERVER_BRAND_REPEAT_DELAY, TimeUnit.MILLISECONDS);
}
@Override
@@ -43,7 +43,7 @@ public class VelocityServerBrand implements ServerBrand {
if(animationState.getAndIncrement() >= Storage.CUSTOM_SERVER_BRANDS.size() - 1) animationState.set(0);
BRAND = MessageTranslator.replaceMessage(Storage.CUSTOM_SERVER_BRANDS.get(animationState.get())) + "§r";
SERVER.getAllPlayers().forEach(this::send);
}).repeat(Storage.CUSTOM_SERVER_BRAND_REPEAT_DELAY, TimeUnit.MILLISECONDS).schedule();
}).repeat(1, TimeUnit.MILLISECONDS).schedule();
}