Skip to content

Commit

Permalink
Optimize imports, and add new line to end of lang.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWoodworth committed May 14, 2016
1 parent e4e0b7e commit eff2cb5
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/main/java/net/ritcraft/RockTheVote/Language.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ private static String s(int integer) {
}



public static String getVoteBarTitle(String voteName, String description, int count, int total) {
return get("vote-bar-title", "vote", voteName, "desc", description, "count", s(count), "total", s(total));
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package net.ritcraft.RockTheVote.commands;

import net.md_5.bungee.api.ChatColor;
import net.ritcraft.RockTheVote.Language;
import net.ritcraft.RockTheVote.RockTheVote;
import net.ritcraft.RockTheVote.vote.Vote;
Expand Down
1 change: 0 additions & 1 deletion src/main/java/net/ritcraft/RockTheVote/vote/VoteBar.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package net.ritcraft.RockTheVote.vote;

import net.ritcraft.RockTheVote.Language;
import net.ritcraft.RockTheVote.RockTheVote;
import org.bukkit.Bukkit;
import org.bukkit.boss.BarColor;
import org.bukkit.boss.BarStyle;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/lang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ invalid-bar-style: '&cInvalid value for bar-style: <value>' # Variables: value

vote-cast: '&aYour vote for &b<vote>&a has been cast'
vote-not-found: '&cThere is no vote with the name &b<vote>'
vote-player-only: '&cYou must be a player to cast a vote'
vote-player-only: '&cYou must be a player to cast a vote'

0 comments on commit eff2cb5

Please sign in to comment.