mirror of
https://github.com/Zrips/Jobs.git
synced 2025-02-18 05:11:32 +01:00
Clone map to avoid issues
This commit is contained in:
parent
5612becd6f
commit
e9187ad9fa
@ -9,5 +9,6 @@
|
||||
<classpathentry kind="lib" path="C:/Users/Arte/Desktop/Jobs/lib/MythicMobs-2.1.8.jar"/>
|
||||
<classpathentry kind="lib" path="C:/Users/Arte/Desktop/Residence/lib/iConomy7.0.6.jar"/>
|
||||
<classpathentry kind="lib" path="C:/Users/Arte/Desktop/Residence/lib/worldedit-bukkit-6.1.1-SNAPSHOT-dist.jar"/>
|
||||
<classpathentry kind="lib" path="C:/Users/Arte/Desktop/Jobs/lib/craftconomy3-3.3.1-20160221.070622-13.jar"/>
|
||||
<classpathentry kind="output" path=""/>
|
||||
</classpath>
|
||||
|
@ -472,7 +472,9 @@ public class Jobs extends JavaPlugin {
|
||||
int y = 0;
|
||||
int total = Jobs.getPlayerManager().getMapSize();
|
||||
long time = System.currentTimeMillis();
|
||||
Iterator<Entry<UUID, PlayerInfo>> it = Jobs.getPlayerManager().getPlayersInfoUUIDMap().entrySet().iterator();
|
||||
// Cloning to avoid issues
|
||||
HashMap<UUID, PlayerInfo> temp = new HashMap<UUID, PlayerInfo>(Jobs.getPlayerManager().getPlayersInfoUUIDMap());
|
||||
Iterator<Entry<UUID, PlayerInfo>> it = temp.entrySet().iterator();
|
||||
while (it.hasNext()) {
|
||||
Entry<UUID, PlayerInfo> one = it.next();
|
||||
if (!running)
|
||||
|
1
com/gamingmesh/jobs/economy/.gitignore
vendored
1
com/gamingmesh/jobs/economy/.gitignore
vendored
@ -8,3 +8,4 @@
|
||||
/IConomy6Adapter.class
|
||||
/IConomy7Adapter.class
|
||||
/IConomyAdapter.class
|
||||
/CraftConomy3Adapter.class
|
||||
|
Loading…
Reference in New Issue
Block a user