Skip to content

Commit

Permalink
Replaced zlib referenced by quartzlib
Browse files Browse the repository at this point in the history
  • Loading branch information
valentin committed Nov 16, 2020
1 parent a579db3 commit 6f16c60
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<dependency>
<groupId>fr.zcraft</groupId>
<artifactId>quartzlib</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.0.1</version>
</dependency>
</dependencies>
</project>
14 changes: 7 additions & 7 deletions src/main/java/fr/zcraft/VoteBan/Config.java
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package fr.zcraft.VoteBan;

import fr.zcraft.zlib.components.configuration.Configuration;
import fr.zcraft.zlib.components.configuration.ConfigurationItem;
import fr.zcraft.zlib.components.configuration.ConfigurationList;
import fr.zcraft.zlib.components.configuration.ConfigurationSection;
import fr.zcraft.quartzlib.components.configuration.Configuration;
import fr.zcraft.quartzlib.components.configuration.ConfigurationItem;
import fr.zcraft.quartzlib.components.configuration.ConfigurationList;
import fr.zcraft.quartzlib.components.configuration.ConfigurationSection;

import java.util.Locale;

import static fr.zcraft.zlib.components.configuration.ConfigurationItem.item;
import static fr.zcraft.zlib.components.configuration.ConfigurationItem.list;
import static fr.zcraft.zlib.components.configuration.ConfigurationItem.section;
import static fr.zcraft.quartzlib.components.configuration.ConfigurationItem.item;
import static fr.zcraft.quartzlib.components.configuration.ConfigurationItem.list;
import static fr.zcraft.quartzlib.components.configuration.ConfigurationItem.section;


/**
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/fr/zcraft/VoteBan/VoteBan.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
import fr.zcraft.VoteBan.commands.votebans.VoteBansYesCommand;
import fr.zcraft.VoteBan.votes.CannotRegisterVoteException;
import fr.zcraft.VoteBan.votes.Vote;
import fr.zcraft.zlib.components.commands.Commands;
import fr.zcraft.zlib.components.i18n.I18n;
import fr.zcraft.zlib.core.ZPlugin;
import fr.zcraft.zlib.tools.runners.RunTask;
import fr.zcraft.quartzlib.components.commands.Commands;
import fr.zcraft.quartzlib.components.i18n.I18n;
import fr.zcraft.quartzlib.core.QuartzPlugin;
import fr.zcraft.quartzlib.tools.runners.RunTask;
import org.bukkit.entity.Player;

import java.util.Collections;
Expand All @@ -19,7 +19,7 @@
import java.util.UUID;


public final class VoteBan extends ZPlugin
public final class VoteBan extends QuartzPlugin
{
private static VoteBan instance;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package fr.zcraft.VoteBan.commands.votebans;

import fr.zcraft.zlib.components.commands.CommandInfo;
import fr.zcraft.quartzlib.components.commands.CommandInfo;


@CommandInfo (name = "no", usageParameters = "[player]")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
import fr.zcraft.VoteBan.votes.Vote;
import fr.zcraft.VoteBan.VoteBan;
import fr.zcraft.VoteBan.votes.CannotRegisterVoteException;
import fr.zcraft.zlib.components.commands.Command;
import fr.zcraft.zlib.components.commands.CommandException;
import fr.zcraft.zlib.components.commands.CommandInfo;
import fr.zcraft.zlib.components.i18n.I;
import fr.zcraft.zlib.components.rawtext.RawText;
import fr.zcraft.zlib.tools.text.RawMessage;
import fr.zcraft.quartzlib.components.commands.Command;
import fr.zcraft.quartzlib.components.commands.CommandException;
import fr.zcraft.quartzlib.components.commands.CommandInfo;
import fr.zcraft.quartzlib.components.i18n.I;
import fr.zcraft.quartzlib.components.rawtext.RawText;
import fr.zcraft.quartzlib.tools.text.RawMessage;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
import fr.zcraft.VoteBan.Permissions;
import fr.zcraft.VoteBan.VoteBan;
import fr.zcraft.VoteBan.votes.Vote;
import fr.zcraft.zlib.components.commands.Command;
import fr.zcraft.zlib.components.commands.CommandException;
import fr.zcraft.zlib.components.i18n.I;
import fr.zcraft.zlib.components.rawtext.RawText;
import fr.zcraft.quartzlib.components.commands.Command;
import fr.zcraft.quartzlib.components.commands.CommandException;
import fr.zcraft.quartzlib.components.i18n.I;
import fr.zcraft.quartzlib.components.rawtext.RawText;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package fr.zcraft.VoteBan.commands.votebans;

import fr.zcraft.zlib.components.commands.CommandInfo;
import fr.zcraft.quartzlib.components.commands.CommandInfo;


@CommandInfo (name = "yes", usageParameters = "[player]")
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/fr/zcraft/VoteBan/votes/Vote.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
import fr.zcraft.VoteBan.VoteBan;
import fr.zcraft.VoteBan.commands.votebans.VoteBansNoCommand;
import fr.zcraft.VoteBan.commands.votebans.VoteBansYesCommand;
import fr.zcraft.zlib.components.i18n.I;
import fr.zcraft.zlib.components.rawtext.RawText;
import fr.zcraft.zlib.tools.runners.RunTask;
import fr.zcraft.zlib.tools.text.RawMessage;
import fr.zcraft.quartzlib.components.i18n.I;
import fr.zcraft.quartzlib.components.rawtext.RawText;
import fr.zcraft.quartzlib.tools.runners.RunTask;
import fr.zcraft.quartzlib.tools.text.RawMessage;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Sound;
Expand Down

0 comments on commit 6f16c60

Please sign in to comment.