Fix for unclaimall command not working if Economy was disabled
This commit is contained in:
1 parent
9710ec911e
commit
83f690c9c5
2 files changed
+10
-22
No files matched your search
@@ -103,21 +103,6 @@ public class SpoutFeatures
|
||||
if (fLoc == null || player.getLastStoodAt().equals(fLoc))
|
||||
mainListener.updateOwnerList(player);
|
||||
}
|
||||
/* // immediate update after a change doesn't seem to work; oh well, delay it slightly
|
||||
P.p.getServer().getScheduler().scheduleSyncDelayedTask(P.p, new Runnable()
|
||||
{
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
Set<FPlayer> players = FPlayers.i.getOnline();
|
||||
|
||||
for (FPlayer player : players)
|
||||
{
|
||||
if (fLoc == null || player.getLastStoodAt() == fLoc)
|
||||
mainListener.updateOwnerList(player);
|
||||
}
|
||||
}
|
||||
}, 5);*/
|
||||
}
|
||||
|
||||
// update owner list for specified player
|
||||
|
||||
Reference in new issue
Block a user