Skip to content

Commit

Permalink
2.7.2 - Fixed shift click issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kiranhart committed Dec 28, 2021
1 parent 02b7a0d commit fe5494d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -7,15 +7,15 @@
<artifactId>skulls</artifactId>

<name>Skulls</name>
<version>2.7.1</version>
<version>2.7.2</version>
<packaging>jar</packaging>

<properties>
<author>Kiran Hart</author>
<jarName>Skulls</jarName>
<main.class>${project.groupId}.${project.artifactId}.${project.name}</main.class>
<java.version>1.8</java.version>
<tweety.version>1.7.2</tweety.version>
<tweety.version>1.7.3</tweety.version>
<tweety.path>com.github.kiranhart</tweety.path>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
Expand Down
7 changes: 6 additions & 1 deletion src/main/java/ca/tweetzy/skulls/menus/MenuList.java
Expand Up @@ -120,7 +120,7 @@ protected ItemStack convertToItemStack(Skull item) {
lore.add(Settings.ListingMenu.Format.FAVOURITED);
}

if (Settings.CHARGE_FOR_HEADS) {
if (Settings.CHARGE_FOR_HEADS && PlayerUtil.hasPerm(player, Permissions.EDIT_PRICE)) {
lore.add(Settings.ListingMenu.Format.EDIT_PRICE);
}

Expand Down Expand Up @@ -235,4 +235,9 @@ private void handleOtherClick(Player player, Skull item) {
protected boolean addPageNumbers() {
return false;
}

@Override
protected boolean allowShiftClick() {
return true;
}
}

0 comments on commit fe5494d

Please sign in to comment.