Only changes enough to make everything work

This commit is contained in:
2023-04-01 14:52:14 +02:00
parent bb0be8a3f0
commit b4e7b8ea44
103 changed files with 2003 additions and 2010 deletions

View File

@ -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;
}