From 09c4655be7d7507de4d8ab412dcb673bb34a64e4 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Thu, 2 Sep 2021 18:53:14 +0200 Subject: [PATCH] Setup `allowed-plugins` with an example plugin --- .../com/fastasyncworldedit/core/configuration/Settings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/configuration/Settings.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/configuration/Settings.java index af56855dd..ba3c80ce1 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/configuration/Settings.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/configuration/Settings.java @@ -458,7 +458,7 @@ public class Settings extends Config { "Don't bug console when these plugins slow down WorldEdit operations", " - You'll see a message in console if you need to change this option" }) - public List ALLOWED_PLUGINS = new ArrayList<>(); + public List ALLOWED_PLUGINS = new ArrayList<>(Collections.singleton(("ExamplePlugin"))); @Comment("Should debug messages be sent when third party extents are used?") public boolean DEBUG = true;