1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

Change visibility to protected 19

This commit is contained in:
IAmSorry 2021-04-19 17:30:12 +02:00 committed by GitHub
parent 357898fe8e
commit 04b901928c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,11 +33,11 @@ public abstract class BlockMenuPreset extends ChestMenu {
private final boolean universal; private final boolean universal;
private boolean locked; private boolean locked;
public BlockMenuPreset(@Nonnull String id, @Nonnull String title) { protected BlockMenuPreset(@Nonnull String id, @Nonnull String title) {
this(id, title, false); this(id, title, false);
} }
public BlockMenuPreset(@Nonnull String id, @Nonnull String title, boolean universal) { protected BlockMenuPreset(@Nonnull String id, @Nonnull String title, boolean universal) {
super(title); super(title);
Validate.notNull(id, "You need to specify an id!"); Validate.notNull(id, "You need to specify an id!");