update default GSON jar version to 2.1
This commit is contained in:
parent
03d32ec5b0
commit
56de98f049
BIN
lib/gson.jar
BIN
lib/gson.jar
Binary file not shown.
@ -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
|
// clean up any territory ownership in old faction, if there is one
|
||||||
if (Factions.i.exists(this.getFactionId()))
|
if (Factions.i.exists(this.getFactionId()))
|
||||||
@ -194,7 +194,7 @@ public class FPlayer extends PlayerEntity implements EconomyParticipator
|
|||||||
this.title = "";
|
this.title = "";
|
||||||
this.autoClaimFor = null;
|
this.autoClaimFor = null;
|
||||||
|
|
||||||
if (doSpotUpdate)
|
if (doSpoutUpdate)
|
||||||
{
|
{
|
||||||
SpoutFeatures.updateAppearances(this.getPlayer());
|
SpoutFeatures.updateAppearances(this.getPlayer());
|
||||||
}
|
}
|
||||||
|
@ -65,7 +65,7 @@ public abstract class MPlugin extends JavaPlugin
|
|||||||
this.persist = new Persist(this);
|
this.persist = new Persist(this);
|
||||||
this.lib = new LibLoader(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.gson = this.getGsonBuilder().create();
|
||||||
|
|
||||||
this.txt = new TextUtil();
|
this.txt = new TextUtil();
|
||||||
|
Loading…
Reference in New Issue
Block a user