mirror of
https://github.com/geekfrog/PermissionsTime.git
synced 2025-09-09 15:30:45 +00:00
2652146617 提交的BUG,修复了op无法打开权限仓库
This commit is contained in:
@ -164,6 +164,8 @@ public class PluginMain extends JavaPlugin {
|
||||
|
||||
public OfflinePlayer getOfflinePlayer(String name) {
|
||||
for (OfflinePlayer p : getServer().getOfflinePlayers()) {
|
||||
if(p==null)
|
||||
continue;
|
||||
if (p.getName().equalsIgnoreCase(name)) {
|
||||
return p;
|
||||
}
|
||||
|
Reference in New Issue
Block a user