From 83f6b4fa1d7b1078938b8f23e68548e8f5a81773 Mon Sep 17 00:00:00 2001 From: Kenny Goodin Date: Tue, 6 Jun 2017 22:27:41 -0400 Subject: [PATCH 1/2] Fill in actual quest rarity weights --- .../src/mineplex/quest/common/QuestRarity.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Plugins/mineplex-questmanager/src/mineplex/quest/common/QuestRarity.java b/Plugins/mineplex-questmanager/src/mineplex/quest/common/QuestRarity.java index b5d85b0e9..4ef625ee0 100644 --- a/Plugins/mineplex-questmanager/src/mineplex/quest/common/QuestRarity.java +++ b/Plugins/mineplex-questmanager/src/mineplex/quest/common/QuestRarity.java @@ -5,9 +5,8 @@ package mineplex.quest.common; */ public enum QuestRarity { - // TODO fill in actual weights - COMMON(0.5), - RARE(0.3), + COMMON(1.0), + RARE(0.5), LEGENDARY(0.1) ; From 7cc7769378087138b571728158889f91063bfe9d Mon Sep 17 00:00:00 2001 From: cnr Date: Wed, 7 Jun 2017 18:26:56 -0500 Subject: [PATCH 2/2] Send gem hunters players to normal hub upon cashout --- .../src/mineplex/gemhunters/economy/CashOutModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/mineplex-game-gemhunters/src/mineplex/gemhunters/economy/CashOutModule.java b/Plugins/mineplex-game-gemhunters/src/mineplex/gemhunters/economy/CashOutModule.java index c4d3b75d8..fc5ceff19 100644 --- a/Plugins/mineplex-game-gemhunters/src/mineplex/gemhunters/economy/CashOutModule.java +++ b/Plugins/mineplex-game-gemhunters/src/mineplex/gemhunters/economy/CashOutModule.java @@ -158,7 +158,7 @@ public class CashOutModule extends MiniPlugin } else { - Portal.getInstance().sendPlayerToGenericServer(player, GenericServer.BETA_HUB, Intent.FORCE_TRANSFER); + Portal.getInstance().sendPlayerToGenericServer(player, GenericServer.HUB, Intent.FORCE_TRANSFER); runSyncLater(() -> {