diff --git a/pom.xml b/pom.xml index dc99893f..7f9fa2ac 100644 --- a/pom.xml +++ b/pom.xml @@ -48,7 +48,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.6.0 + 3.6.1 1.8 1.8 @@ -69,7 +69,7 @@ org.apache.maven.plugins maven-shade-plugin - 2.4.3 + 3.0.0 false false @@ -198,18 +198,9 @@ org.spigotmc - spigot-api - 1.9-R0.1-SNAPSHOT + 1.12-R0.1-SNAPSHOT provided - - - - - * - * - - @@ -246,18 +237,36 @@ com.wasteofplastic askyblock 3.0.6.2 + + + * + * + + me.clip placeholderapi 2.6.0 + + + * + * + + de.keyle mypet 2.2.6 + + + * + * + + @@ -383,12 +392,24 @@ com.github.TechFortress GriefPrevention 5186739d3a + + + * + * + + com.github.games647 McCombatLevel 3ab946cf26 + + + * + * + + @@ -399,6 +420,12 @@ system ${project.basedir}/lib/BukkitGames-2.3.2.jar true + + + * + * + + @@ -408,6 +435,12 @@ 1.6.9.5-U0.1.6 + + + * + * + + true @@ -415,6 +448,12 @@ com.massivecraft factions 2.10 + + + * + * + + @@ -422,6 +461,12 @@ com.massivecraft massivecore 2.10 + + + * + * + + diff --git a/src/main/java/com/github/games647/scoreboardstats/scoreboard/bukkit/FastOfflinePlayer.java b/src/main/java/com/github/games647/scoreboardstats/scoreboard/bukkit/FastOfflinePlayer.java index 531f6b20..63eabdb0 100644 --- a/src/main/java/com/github/games647/scoreboardstats/scoreboard/bukkit/FastOfflinePlayer.java +++ b/src/main/java/com/github/games647/scoreboardstats/scoreboard/bukkit/FastOfflinePlayer.java @@ -7,6 +7,7 @@ import java.util.Map; import java.util.UUID; +import org.apache.commons.lang.builder.ToStringBuilder; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.OfflinePlayer; @@ -61,12 +62,6 @@ public boolean isBanned() { return false; } - @Override - @SuppressWarnings("deprecation") - public void setBanned(boolean banned) { - //ignore - } - @Override public boolean isWhitelisted() { return false; @@ -140,8 +135,8 @@ public boolean equals(Object obj) { @Override public String toString() { - return Objects.toStringHelper(this) - .add("playerName", playerName) + return new ToStringBuilder(this) + .append("playerName", playerName) .toString(); } }