Add SchematicSelector #132
@ -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 {}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren