From e7b80cbce51bc520f70a013b9cdcb84289243e49 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Tue, 2 Jul 2019 20:10:06 -0700 Subject: [PATCH] Dependency inject Party in ShareHandler --- src/main/java/com/gmail/nossr50/party/ShareHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/party/ShareHandler.java b/src/main/java/com/gmail/nossr50/party/ShareHandler.java index 3dac4f89f..ca95b1309 100644 --- a/src/main/java/com/gmail/nossr50/party/ShareHandler.java +++ b/src/main/java/com/gmail/nossr50/party/ShareHandler.java @@ -21,8 +21,9 @@ public final class ShareHandler { private mcMMO pluginRef; private Party party; - public ShareHandler(mcMMO pluginRef) { + public ShareHandler(mcMMO pluginRef, Party party) { this.pluginRef = pluginRef; + this.party = party; } /**