MCore change

This commit is contained in:
Olof Larsson 2013-04-24 08:59:43 +02:00
parent cb1926c5c1
commit 8ac19453b6
5 changed files with 4 additions and 10 deletions

View File

@ -110,7 +110,7 @@ public class MConf extends Entity<MConf>
// DERPY OVERRIDES // DERPY OVERRIDES
// -------------------------------------------- // // -------------------------------------------- //
// TODO: Should worldsNoPowerLoss rather be a bukkit permission node? // TODO: Should worldsNoPowerLoss rather be a bukkit permission node?
// TODO: These are derpy because they possibly use an invalid design approact. // TODO: These are derpy because they possibly use an invalid design approach.
// After universe support is added. Would some of these be removed? // After universe support is added. Would some of these be removed?
// Could it also be more customizeable using some sort of permission lookup map? // Could it also be more customizeable using some sort of permission lookup map?

View File

@ -69,12 +69,6 @@ public class Econ
public static void sendBalanceInfo(UPlayer to, EconomyParticipator about) public static void sendBalanceInfo(UPlayer to, EconomyParticipator about)
{ {
if (!isEnabled(to))
{
Factions.get().log(Level.WARNING, "Vault does not appear to be hooked into an economy plugin.");
return;
}
to.msg("<a>%s's<i> balance is <h>%s<i>.", about.describeTo(to, true), Money.format(about, Money.get(about))); to.msg("<a>%s's<i> balance is <h>%s<i>.", about.describeTo(to, true), Money.format(about, Money.get(about)));
} }

View File

@ -32,7 +32,7 @@ public class TaskEconLandReward extends ModuloRepeatTask
} }
@Override @Override
public void invoke() public void invoke(long now)
{ {
for (FactionColl coll : FactionColls.get().getColls()) for (FactionColl coll : FactionColls.get().getColls())
{ {

View File

@ -32,7 +32,7 @@ public class TaskPlayerDataRemove extends ModuloRepeatTask
} }
@Override @Override
public void invoke() public void invoke(long now)
{ {
for (UPlayerColl coll : UPlayerColls.get().getColls()) for (UPlayerColl coll : UPlayerColls.get().getColls())
{ {

View File

@ -36,7 +36,7 @@ public class TaskPlayerPowerUpdate extends ModuloRepeatTask
} }
@Override @Override
public void invoke() public void invoke(long now)
{ {
long millis = this.getDelayMillis(); long millis = this.getDelayMillis();