mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-22 10:36:00 +01:00
fix
This commit is contained in:
parent
5e4d9b5624
commit
cfe135e465
BIN
MobArena.jar
BIN
MobArena.jar
Binary file not shown.
@ -50,14 +50,14 @@ public class MASpawnThread implements Runnable
|
||||
}
|
||||
|
||||
public void run()
|
||||
{
|
||||
{
|
||||
// Check if we need to grant more rewards with the recurrent waves.
|
||||
for (Integer i : ArenaManager.everyWaveMap.keySet())
|
||||
{
|
||||
if (wave % i != 0)
|
||||
continue;
|
||||
|
||||
for (Player p : playerList)
|
||||
for (Player p : ArenaManager.playerSet)
|
||||
{
|
||||
currentRewards = ArenaManager.rewardMap.get(p);
|
||||
reward = MAUtils.getRandomReward(ArenaManager.everyWaveMap.get(i));
|
||||
@ -70,7 +70,7 @@ public class MASpawnThread implements Runnable
|
||||
// Same deal, this time with the one-time waves.
|
||||
if (ArenaManager.afterWaveMap.containsKey(wave))
|
||||
{
|
||||
for (Player p : playerList)
|
||||
for (Player p : ArenaManager.playerSet)
|
||||
{
|
||||
currentRewards = ArenaManager.rewardMap.get(p);
|
||||
reward = MAUtils.getRandomReward(ArenaManager.afterWaveMap.get(wave));
|
||||
|
Loading…
Reference in New Issue
Block a user