From a54fd506bbac2c68750e0f7fb8eb3fdd2b98d84d Mon Sep 17 00:00:00 2001 From: GeekFrog Date: Sat, 15 Jul 2017 05:02:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug=20=E5=A6=82=E6=9E=9C?= =?UTF-8?q?=E6=9D=83=E9=99=90=E7=BB=84=E6=9C=89=E7=BB=A7=E6=89=BF=E5=85=B3?= =?UTF-8?q?=E7=B3=BB,=20=E8=A2=AB=E7=BB=A7=E6=89=BF=E7=9A=84=E6=9D=83?= =?UTF-8?q?=E9=99=90=E7=BB=84=E4=BC=9A=E8=A2=AB=E5=A4=A7=E7=BB=84=E8=A6=86?= =?UTF-8?q?=E7=9B=96,=20=E5=A4=A7=E7=BB=84=E5=88=B0=E6=9C=9F=E8=A2=AB?= =?UTF-8?q?=E5=88=A0=E9=99=A4,=20=E5=B0=8F=E7=BB=84=E7=9A=84=E6=9D=83?= =?UTF-8?q?=E9=99=90=E5=B0=B1=E6=B2=A1=E6=9C=89=E4=BA=86,=20=E5=8F=AA?= =?UTF-8?q?=E8=83=BD=E9=87=8D=E6=96=B0=E7=99=BB=E5=BD=95=E6=B8=B8=E6=88=8F?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 - .../mc/permissionstime/model/cfg/PermissionPackageBean.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 2d6fcbb..14aa37d 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ 如果出现问题一般退出服务器重进就能解决。一次不行再来一次。 -- 如果权限组有继承关系, 被继承的权限组会被大组覆盖, 大组到期被删除, 小组的权限就没有了, 只能重新登录游戏。 - 服务器关闭时, 插件被禁用的顺序不一, 会导致玩家有权限留存。 如果配置的权限包删掉了原来设置的权限, 会导致插件无法清理原有的权限及权限组。(你可以配置一个不使用的权限包, 权限包内含有你想清理的权限及权限组即可。) #### 插件进度: diff --git a/src/main/gg/frog/mc/permissionstime/model/cfg/PermissionPackageBean.java b/src/main/gg/frog/mc/permissionstime/model/cfg/PermissionPackageBean.java index 08d38fa..b9fddb3 100644 --- a/src/main/gg/frog/mc/permissionstime/model/cfg/PermissionPackageBean.java +++ b/src/main/gg/frog/mc/permissionstime/model/cfg/PermissionPackageBean.java @@ -181,8 +181,8 @@ public class PermissionPackageBean implements IConfigBean { addPpb.getGroups().addAll(p.getGroups()); subPpb.getGroups().removeAll(p.getGroups()); } - addPpb.givePlayer(player, plugin.getServer(), plugin.getPermission()); subPpb.clearPlayer(player, plugin.getServer(), plugin.getPermission()); + addPpb.givePlayer(player, plugin.getServer(), plugin.getPermission()); BukkitTask task = taskMap.get(player.getUniqueId().toString()); if (task != null) { plugin.getServer().getScheduler().cancelTask(task.getTaskId());