Hopefully fix a couple of economy integration problems
This commit is contained in:
1 parent
047a03af44
commit
101aa8cabe
2 files changed
+6
-3
No files matched your search
@@ -255,8 +255,11 @@ public class Econ
|
||||
|
||||
for (Faction faction : Factions.i.get())
|
||||
{
|
||||
faction.getAccount().add(faction.money);
|
||||
faction.money = 0;
|
||||
if (faction.money > 0)
|
||||
{
|
||||
faction.getAccount().add(faction.money);
|
||||
faction.money = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user