Skip to content

Commit

Permalink
Fix Dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
LoboMetalurgico committed Oct 7, 2020
1 parent 1d6965c commit 037aadb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import java.util.concurrent.TimeUnit;
import java.util.logging.Level;

@SuppressWarnings("CharsetObjectCanBeUsed")
public class MineCityPlugin extends JavaPlugin
{
private MineCityBukkit instance;
Expand Down Expand Up @@ -131,7 +132,6 @@ public void onEnable()
saveDefaultConfig();
reloadConfig();

@SuppressWarnings("SpellCheckingInspection")
FileConfiguration yaml = getConfig();
MineCityConfig config = new MineCityConfig();
config.dbUrl = yaml.getString("database.url", config.dbUrl);
Expand All @@ -141,7 +141,7 @@ public void onEnable()
config.useTitle = yaml.getBoolean("use-titles", true);
config.defaultNatureDisableCities = !yaml.getBoolean("permissions.default.nature.enable-city-creation", true);
config.economy = yaml.getString("economy", "none");
config.permission = yaml.getString("permissions", "bukkit");
config.permission = yaml.getString("permission", "bukkit");

for(PermissionFlag flag: PermissionFlag.values())
{
Expand Down
2 changes: 1 addition & 1 deletion Bukkit/src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ database:
economy: vault

# Possible values: Bukkit, Vault, Sponge, None
permissions: vault
permission: vault

costs:
city:
Expand Down
4 changes: 0 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ allprojects {
subprojects {
repositories {
mavenCentral()
maven {
name = 'gamemods-nexus'
url = 'http://nexus.gamemods.com.br/content/groups/public/'
}
maven {
name = "spigot-nexus"
url = "https://hub.spigotmc.org/nexus/content/groups/public/"
Expand Down

0 comments on commit 037aadb

Please sign in to comment.