update default GSON jar version to 2.1

This commit is contained in:
Brettflan 2012-02-19 08:32:47 -06:00
parent 03d32ec5b0
commit 56de98f049
3 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -175,7 +175,7 @@ public class FPlayer extends PlayerEntity implements EconomyParticipator
}
}
public final void resetFactionData(boolean doSpotUpdate)
public final void resetFactionData(boolean doSpoutUpdate)
{
// clean up any territory ownership in old faction, if there is one
if (Factions.i.exists(this.getFactionId()))
@ -194,7 +194,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();