enabled double gems

This commit is contained in:
Cheese 2015-06-27 12:44:43 +10:00
parent d0368a19d8
commit 4c164ce2a6

View File

@ -30,7 +30,7 @@ public class GameGemManager implements Listener
{ {
ArcadeManager Manager; ArcadeManager Manager;
boolean DoubleGem = false; boolean DoubleGem = true;
public GameGemManager(ArcadeManager manager) public GameGemManager(ArcadeManager manager)
{ {
@ -174,7 +174,7 @@ public class GameGemManager implements Listener
} }
} }
if (DoubleGem && game.GemDoubleEnabled && UtilPlayer.is1_8(player)) if (DoubleGem && game.GemDoubleEnabled)
total += earned; total += earned;
Manager.GetDonation().RewardGems(null, "Earned " + game.GetName(), player.getName(), player.getUniqueId(), total); Manager.GetDonation().RewardGems(null, "Earned " + game.GetName(), player.getName(), player.getUniqueId(), total);
@ -245,9 +245,9 @@ public class GameGemManager implements Listener
} }
//Double Gem //Double Gem
if (DoubleGem && game.GemDoubleEnabled && UtilPlayer.is1_8(player)) if (DoubleGem && game.GemDoubleEnabled)
{ {
UtilPlayer.message(player, F.elem(C.cGreen + "+" + (earnedGems) + " Gems") + " for " + F.elem(C.cDGreen + "Double Gem Weekend")); UtilPlayer.message(player, F.elem(C.cGreen + "+" + (earnedGems) + " Gems") + " for " + F.elem(C.cDGreen + "Double Gem Bonus"));
totalGems += earnedGems; totalGems += earnedGems;
} }