From a092852a1c3533a62482ab5f14f6e2fbe6a3b34d Mon Sep 17 00:00:00 2001 From: Magnus Ulf Date: Tue, 14 Jan 2020 12:51:50 +0100 Subject: [PATCH] Changes to placeholderAPI integration --- .../integration/placeholderapi/IntegrationPlaceholderAPI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/massivecraft/factions/integration/placeholderapi/IntegrationPlaceholderAPI.java b/src/com/massivecraft/factions/integration/placeholderapi/IntegrationPlaceholderAPI.java index ab5efb2b..2699129f 100644 --- a/src/com/massivecraft/factions/integration/placeholderapi/IntegrationPlaceholderAPI.java +++ b/src/com/massivecraft/factions/integration/placeholderapi/IntegrationPlaceholderAPI.java @@ -26,7 +26,7 @@ public class IntegrationPlaceholderAPI extends Integration @Override public void setIntegrationActiveInner(boolean active) { - PlaceholderFactions.get().register(); + if (active) PlaceholderFactions.get().register(); } public static void ensureRegistered()