Skip to content

Commit 4869088

Browse files
committed
v1.4.0.1
1 parent 136ffc6 commit 4869088

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ repositories {
3737
}
3838

3939
dependencies {
40-
implementation 'de.tr7zw:item-nbt-api:2.13.0'
40+
implementation 'de.tr7zw:item-nbt-api:2.13.1'
4141
implementation 'com.github.Redempt:RedLib:6.6.1'
4242
implementation 'com.github.Redempt:Crunch:2.0.3'
43-
implementation 'com.github.cryptomorin:XSeries:11.0.0'
43+
implementation 'com.github.cryptomorin:XSeries:11.1.0'
4444
implementation 'com.github.Revxrsal.Lamp:common:3.2.1'
4545
implementation 'com.github.Revxrsal.Lamp:bukkit:3.2.1'
4646
implementation 'com.github.Sven65:Item-Names:1.0.2'
@@ -55,7 +55,7 @@ dependencies {
5555
}
5656

5757
group = 'me.byteful.plugin'
58-
version = '1.4.0'
58+
version = '1.4.0.1'
5959
description = 'LevelTools'
6060
java.sourceCompatibility = JavaVersion.VERSION_17
6161

src/main/java/me/byteful/plugin/leveltools/LevelToolsCommand.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ public void onReload(CommandSender sender) {
4545
@Subcommand("reset")
4646
@Description("Resets all XP/Levels for all the items in the target player.")
4747
public void onReset(CommandSender sender, Player target, @Switch("all") boolean all) {
48+
if (!checkPerm(sender)) {
49+
return;
50+
}
51+
4852
final ItemStack hand = LevelToolsUtil.getHand(target);
4953
if (!all) {
5054
if (!LevelToolsUtil.isSupportedTool(hand.getType())) {

0 commit comments

Comments
 (0)