SteamWar/SpigotCore
Archiviert
13
0

Fix Default
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
Chaoscaot 2021-11-27 11:16:16 +01:00
Ursprung becee281f6
Commit f15e051d50

Datei anzeigen

@ -27,7 +27,7 @@ import org.bukkit.entity.Player;
public interface SchematicSelectorInjectable { public interface SchematicSelectorInjectable {
SchematicSelectorInjectable DEFAULT = new DefaultSchematicSelectorInjectable(); SchematicSelectorInjectable DEFAULT = new SchematicSelectorInjectable() {};
default String createTitle(Player player) { default String createTitle(Player player) {
return Core.MESSAGE.parse("DEFAULT_TITLE", 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 boolean onFolderCreate(SchematicSelector selector, String name) {return true;}
default void onNodeFilter(SchematicSelector selector, SchematicNode node) {} default void onNodeFilter(SchematicSelector selector, SchematicNode node) {}
class DefaultSchematicSelectorInjectable implements SchematicSelectorInjectable {}
} }