Remove spout, update pom for lwc. Still need lots of dependencies.

This commit is contained in:
drtshock
2014-04-04 14:35:35 -05:00
parent 814e439705
commit d9b7cf7058
18 changed files with 42 additions and 538 deletions

View File

@@ -6,7 +6,6 @@ import com.massivecraft.factions.iface.EconomyParticipator;
import com.massivecraft.factions.iface.RelationParticipator;
import com.massivecraft.factions.integration.Econ;
import com.massivecraft.factions.integration.LWCFeatures;
import com.massivecraft.factions.integration.SpoutFeatures;
import com.massivecraft.factions.integration.Worldguard;
import com.massivecraft.factions.struct.ChatMode;
import com.massivecraft.factions.struct.Permission;
@@ -61,7 +60,6 @@ public class FPlayer extends PlayerEntity implements EconomyParticipator {
if (oldFaction != null) oldFaction.removeFPlayer(this);
faction.addFPlayer(this);
this.factionId = faction.getId();
SpoutFeatures.updateAppearances(this.getPlayer());
}
// FIELD: role
@@ -73,7 +71,6 @@ public class FPlayer extends PlayerEntity implements EconomyParticipator {
public void setRole(Role role) {
this.role = role;
SpoutFeatures.updateAppearances(this.getPlayer());
}
// FIELD: title
@@ -233,10 +230,6 @@ public class FPlayer extends PlayerEntity implements EconomyParticipator {
this.role = Role.NORMAL;
this.title = "";
this.autoClaimFor = null;
if (doSpoutUpdate) {
SpoutFeatures.updateAppearances(this.getPlayer());
}
}
public void resetFactionData() {
@@ -549,9 +542,6 @@ public class FPlayer extends PlayerEntity implements EconomyParticipator {
}
public void sendFactionHereMessage() {
if (SpoutFeatures.updateTerritoryDisplay(this)) {
return;
}
Faction factionHere = Board.getFactionAt(this.getLastStoodAt());
String msg = P.p.txt.parse("<i>") + " ~ " + factionHere.getTag(this);
if (factionHere.getDescription().length() > 0) {
@@ -758,7 +748,6 @@ public class FPlayer extends PlayerEntity implements EconomyParticipator {
}
Board.setFactionAt(forFaction, flocation);
SpoutFeatures.updateTerritoryDisplayLoc(flocation);
if (Conf.logLandClaims)
P.p.log(this.getName() + " claimed land at (" + flocation.getCoordString() + ") for the faction: " + forFaction.getTag());