mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
did walshys annotations
This commit is contained in:
parent
05b67869a8
commit
c8fd79938b
@ -61,11 +61,13 @@ public class MultiCategory extends FlexCategory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ParametersAreNonnullByDefault
|
||||||
public boolean isVisible(Player p, PlayerProfile profile, SlimefunGuideMode mode) {
|
public boolean isVisible(Player p, PlayerProfile profile, SlimefunGuideMode mode) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ParametersAreNonnullByDefault
|
||||||
public void open(Player p, PlayerProfile profile, SlimefunGuideMode mode) {
|
public void open(Player p, PlayerProfile profile, SlimefunGuideMode mode) {
|
||||||
openGuide(p, profile, mode, 1);
|
openGuide(p, profile, mode, 1);
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ public class SubCategory extends Category {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public final boolean isHidden(Player p) {
|
public final boolean isHidden(@Nonnull Player p) {
|
||||||
/*
|
/*
|
||||||
* Sub Categories are always hidden,
|
* Sub Categories are always hidden,
|
||||||
* they won't show up in the normal guide view.
|
* they won't show up in the normal guide view.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
package io.github.thebusybiscuit.slimefun4.implementation.guide;
|
package io.github.thebusybiscuit.slimefun4.implementation.guide;
|
||||||
|
|
||||||
import javax.annotation.Nonnull;
|
import javax.annotation.Nonnull;
|
||||||
|
import javax.annotation.ParametersAreNonnullByDefault;
|
||||||
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@ -73,6 +74,7 @@ public class CheatSheetSlimefunGuide extends SurvivalSlimefunGuide {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ParametersAreNonnullByDefault
|
||||||
public void createHeader(Player p, PlayerProfile profile, ChestMenu menu) {
|
public void createHeader(Player p, PlayerProfile profile, ChestMenu menu) {
|
||||||
super.createHeader(p, profile, menu);
|
super.createHeader(p, profile, menu);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user