File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/main/java/me/croabeast/file Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 66
77 <groupId >me.croabeast</groupId >
88 <artifactId >YAML-API</artifactId >
9- <version >1.0 </version >
9+ <version >1.1 </version >
1010 <packaging >jar</packaging >
1111
1212 <properties >
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ default String getPermission() {
5959 * @param sender the command sender.
6060 * @return {@code true} if the sender has the permission, {@code false} otherwise.
6161 */
62- default boolean hasPerm (CommandSender sender ) {
62+ default boolean hasPermission (CommandSender sender ) {
6363 return sender .hasPermission (getPermission ());
6464 }
6565
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ default U getUnit(@Nullable Player player) {
3535
3636 for (final C collection : values ()) {
3737 for (U unit : collection )
38- if (unit .hasPerm (player )) return unit ;
38+ if (unit .hasPermission (player )) return unit ;
3939 }
4040
4141 return null ;
You can’t perform that action at this time.
0 commit comments