diff --git a/lib/gson.jar b/lib/gson.jar index eb542743..b85f091a 100644 Binary files a/lib/gson.jar and b/lib/gson.jar differ diff --git a/src/com/massivecraft/factions/FPlayer.java b/src/com/massivecraft/factions/FPlayer.java index f0ac1928..e000c5f0 100644 --- a/src/com/massivecraft/factions/FPlayer.java +++ b/src/com/massivecraft/factions/FPlayer.java @@ -138,7 +138,7 @@ public class FPlayer extends PlayerEntity implements EconomyParticipator } } - public final void resetFactionData(boolean doSpotUpdate) + public final void resetFactionData(boolean doSpoutUpdate) { if (this.factionId != null && Factions.i.exists(this.factionId)) // Avoid infinite loop! TODO: I think that this is needed is a sign we need to refactor. { @@ -155,7 +155,7 @@ public class FPlayer extends PlayerEntity implements EconomyParticipator this.title = ""; this.autoClaimFor = null; - if (doSpotUpdate) + if (doSpoutUpdate) { SpoutFeatures.updateAppearances(this.getPlayer()); } diff --git a/src/com/massivecraft/factions/zcore/MPlugin.java b/src/com/massivecraft/factions/zcore/MPlugin.java index 63d1a5cd..1ec77311 100644 --- a/src/com/massivecraft/factions/zcore/MPlugin.java +++ b/src/com/massivecraft/factions/zcore/MPlugin.java @@ -65,7 +65,7 @@ public abstract class MPlugin extends JavaPlugin this.persist = new Persist(this); this.lib = new LibLoader(this); - if ( ! lib.require("gson.jar", "http://search.maven.org/remotecontent?filepath=com/google/code/gson/gson/1.7.1/gson-1.7.1.jar")) return false; + if ( ! lib.require("gson.jar", "http://search.maven.org/remotecontent?filepath=com/google/code/gson/gson/2.1/gson-2.1.jar")) return false; this.gson = this.getGsonBuilder().create(); this.txt = new TextUtil();