Only changes enough to make everything work
This commit is contained in:
@ -51,18 +51,18 @@ public enum EventFactionsChunkChangeType implements Colorized {
|
||||
// -------------------------------------------- //
|
||||
|
||||
public static EventFactionsChunkChangeType get(Faction oldFaction, Faction newFaction, Faction self) {
|
||||
if (newFaction == oldFaction) {
|
||||
return NONE;
|
||||
}
|
||||
if (oldFaction.isNone()) {
|
||||
return BUY;
|
||||
}
|
||||
if (newFaction.isNormal()) {
|
||||
return CONQUER;
|
||||
}
|
||||
if (oldFaction == self) {
|
||||
return SELL;
|
||||
}
|
||||
if (newFaction == oldFaction) {
|
||||
return NONE;
|
||||
}
|
||||
if (oldFaction.isNone()) {
|
||||
return BUY;
|
||||
}
|
||||
if (newFaction.isNormal()) {
|
||||
return CONQUER;
|
||||
}
|
||||
if (oldFaction == self) {
|
||||
return SELL;
|
||||
}
|
||||
return PILLAGE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user