mirror of
https://github.com/MilkBowl/Vault.git
synced 2025-01-27 18:41:30 +01:00
update to Bukkit 1.8-R0.1
This commit is contained in:
parent
bf562d90de
commit
6a9abee471
6
pom.xml
6
pom.xml
@ -4,7 +4,7 @@
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<bukkitVersion>1.7.9-R0.2</bukkitVersion>
|
||||
<bukkitVersion>1.8-R0.1-SNAPSHOT</bukkitVersion>
|
||||
<mainClass>${project.groupId}.${project.artifactId}</mainClass>
|
||||
<api.version>1.4</api.version>
|
||||
</properties>
|
||||
@ -58,8 +58,8 @@ Vault currently supports the following: Permissions 3, PEX, GroupManager, bPerms
|
||||
<url>http://nexus.theyeticave.net/content/repositories/pub_releases/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>bukkit-repo</id>
|
||||
<url>http://repo.bukkit.org/content/groups/public/</url>
|
||||
<id>spigot-repo</id>
|
||||
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>greatman-repo</id>
|
||||
|
@ -384,7 +384,7 @@ public class Metrics {
|
||||
boolean onlineMode = Bukkit.getServer().getOnlineMode(); // TRUE if online mode is enabled
|
||||
String pluginVersion = description.getVersion();
|
||||
String serverVersion = Bukkit.getVersion();
|
||||
int playersOnline = Bukkit.getServer().getOnlinePlayers().length;
|
||||
int playersOnline = Bukkit.getServer().getOnlinePlayers().size();
|
||||
|
||||
// END server software specific section -- all code below does not use any code outside of this class / Java
|
||||
|
||||
|
@ -132,7 +132,6 @@ public class Vault extends JavaPlugin {
|
||||
getConfig().addDefault("update-check", true);
|
||||
getConfig().options().copyDefaults(true);
|
||||
saveConfig();
|
||||
|
||||
// Load Vault Addons
|
||||
loadEconomy();
|
||||
loadPermission();
|
||||
|
Loading…
Reference in New Issue
Block a user