Move field to top of class in Game
This commit is contained in:
parent
b21dfad12e
commit
a0fd852537
@ -298,6 +298,7 @@ public abstract class Game implements Listener
|
|||||||
public final ChatStatData BlankLine = new ChatStatData().blankLine();
|
public final ChatStatData BlankLine = new ChatStatData().blankLine();
|
||||||
|
|
||||||
// Gems
|
// Gems
|
||||||
|
private final DataRepository<BoosterData> _boosterRepository = new RedisDataRepository(Region.currentRegion(), BoosterData.class, "gemBooster");
|
||||||
public double GemMultiplier = 1;
|
public double GemMultiplier = 1;
|
||||||
public boolean GemHunterEnabled = true;
|
public boolean GemHunterEnabled = true;
|
||||||
public boolean GemBoosterEnabled = true;
|
public boolean GemBoosterEnabled = true;
|
||||||
@ -1380,7 +1381,7 @@ public abstract class Game implements Listener
|
|||||||
_boosterRepository.addElement(data, 60 * 30); // 30 minutes
|
_boosterRepository.addElement(data, 60 * 30); // 30 minutes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private final DataRepository<BoosterData> _boosterRepository = new RedisDataRepository(Region.currentRegion(), BoosterData.class, "gemBooster");
|
|
||||||
public void AddGemBooster(Player player)
|
public void AddGemBooster(Player player)
|
||||||
{
|
{
|
||||||
if (!GemBoosterEnabled)
|
if (!GemBoosterEnabled)
|
||||||
|
Loading…
Reference in New Issue
Block a user