1
mirror of https://github.com/CarmJos/MineConfiguration.git synced 2024-09-19 20:05:49 +00:00

feat(item): 优化PreparedItem的结构,使其适用于更多项目。

This commit is contained in:
Carm Jos 2023-10-11 22:44:57 +08:00
parent c73032266d
commit 5d55ddbce9

View File

@ -48,7 +48,7 @@ public abstract class ItemModifier<S extends ItemModifier<S, R>, R> {
};
}
public abstract @NotNull S getThis();
protected abstract @NotNull S getThis();
public abstract @Nullable R get(Player player);