接口的使用
org.bukkit.permissions.PermissionRemovedExecutor
-
org.bukkit.permissions中PermissionRemovedExecutor的使用
修饰符和类型方法说明PermissionAttachment.getRemovalCallback()Gets the class that was previously set to be called when this attachment was removed from aPermissible.修饰符和类型方法说明voidPermissionAttachment.setRemovalCallback(@Nullable PermissionRemovedExecutor ex) Sets an object to be called for when this attachment is removed from aPermissible.