Skip to content

Commit e10e7b4

Browse files
committed
1.7.6 shift+f只支持1.9+
1 parent 5e600e4 commit e10e7b4

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
<groupId>cn.handyplus.menu</groupId>
88
<name>PlayerMenu</name>
99
<artifactId>PlayerMenu</artifactId>
10-
<version>1.7.5</version>
10+
<version>1.7.6</version>
1111
<description>一个有点好用的玩家菜单插件</description>
1212

1313
<properties>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1515
<spigot-api.vesion>1.21.10-R0.1-SNAPSHOT</spigot-api.vesion>
1616
<lombok.version>1.18.38</lombok.version>
1717
<annotations.version>26.0.2</annotations.version>
18-
<HandyLib.version>3.28.2</HandyLib.version>
18+
<HandyLib.version>3.28.4</HandyLib.version>
1919
<VaultAPI.vesion>1.7</VaultAPI.vesion>
2020
<PlayerPoints.version>3.3.2</PlayerPoints.version>
2121
<PlayerGuild.version>2.6.3</PlayerGuild.version>

src/main/java/cn/handyplus/menu/listener/PlayerSwapHandItemsEventListener.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import cn.handyplus.lib.annotation.HandyListener;
44
import cn.handyplus.lib.constants.BaseConstants;
5+
import cn.handyplus.lib.constants.VersionCheckEnum;
56
import cn.handyplus.menu.util.MenuUtil;
67
import org.bukkit.entity.Player;
78
import org.bukkit.event.EventHandler;
@@ -14,7 +15,7 @@
1415
* @author handy
1516
* @since 1.1.3
1617
*/
17-
@HandyListener
18+
@HandyListener(version = VersionCheckEnum.V_1_9)
1819
public class PlayerSwapHandItemsEventListener implements Listener {
1920

2021
/**

src/main/resources/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ clock:
2626
# Click type: ALL for all, LEFT for left click, RIGHT for right click
2727
action: ALL
2828

29-
# 动作打开菜单(Action to open the menu)
29+
# 动作打开菜单1.9+ (Action to open the menu)
3030
shift:
3131
F:
3232
# 是否开启(Whether to enable)

src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: PlayerMenu
22
main: cn.handyplus.menu.PlayerMenu
3-
version: 1.7.5
3+
version: 1.7.6
44
author: handy
55
api-version: 1.13
66
website: https://ricedoc.handyplus.cn/wiki/PlayerMenu/log/

0 commit comments

Comments
 (0)