From f15e051d50a7a65a71e3878cc11cf544fbd34c39 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sat, 27 Nov 2021 11:16:16 +0100 Subject: [PATCH] Fix Default Signed-off-by: Chaoscaot --- .../src/de/steamwar/util/SchematicSelectorInjectable.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/SpigotCore_Main/src/de/steamwar/util/SchematicSelectorInjectable.java b/SpigotCore_Main/src/de/steamwar/util/SchematicSelectorInjectable.java index d8a6193..fd8f4ce 100644 --- a/SpigotCore_Main/src/de/steamwar/util/SchematicSelectorInjectable.java +++ b/SpigotCore_Main/src/de/steamwar/util/SchematicSelectorInjectable.java @@ -27,7 +27,7 @@ import org.bukkit.entity.Player; public interface SchematicSelectorInjectable { - SchematicSelectorInjectable DEFAULT = new DefaultSchematicSelectorInjectable(); + SchematicSelectorInjectable DEFAULT = new SchematicSelectorInjectable() {}; default String createTitle(Player player) { return Core.MESSAGE.parse("DEFAULT_TITLE", player); @@ -44,6 +44,4 @@ public interface SchematicSelectorInjectable { default boolean onFolderCreate(SchematicSelector selector, String name) {return true;} default void onNodeFilter(SchematicSelector selector, SchematicNode node) {} - - class DefaultSchematicSelectorInjectable implements SchematicSelectorInjectable {} }