update default GSON jar version to 2.1
This commit is contained in:
parent
03a45784c7
commit
c208658cab
BIN
lib/gson.jar
BIN
lib/gson.jar
Binary file not shown.
@ -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());
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user