Don't register same syntax twice

This commit is contained in:
Govindas 2021-04-17 10:02:09 +03:00
parent d3f886bb74
commit 1e03b937b0

View File

@ -20,7 +20,7 @@ public final class Skooldown extends JavaPlugin {
@Override @Override
public void onEnable() { public void onEnable() {
Skript.registerAddon(this); Skript.registerAddon(this);
Skript.registerEffect(EffStartCooldown.class, "(create|start) [a] cooldown %string% for %timespan%", "(create|start) [a] cooldown %string% for %timespan%"); Skript.registerEffect(EffStartCooldown.class, "(create|start) [a] cooldown %string% for %timespan%");
Skript.registerEffect(EffEndCooldown.class, "(reset|stop|delete|clear) cooldown %string%"); Skript.registerEffect(EffEndCooldown.class, "(reset|stop|delete|clear) cooldown %string%");