Signed-off-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
becee281f6
Commit
f15e051d50
@ -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 {}
|
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren