update default GSON jar version to 2.1

This commit is contained in:
Brettflan 2012-02-19 08:32:50 -06:00
parent 03a45784c7
commit c208658cab
3 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -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());
}

View File

@ -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();